#35197B#35197B

#35197B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.152 H 287.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#35197B
RGBrgb(53, 25, 123)
HSLhsl(257, 66%, 29%)
HSVhsv(257, 80%, 48%)
CMYKcmyk(56.9%, 79.7%, 0%, 51.8%)
CIE-LABlab(19.56, 38.80, -50.46)
CIE-LCHlch(19.56, 63.65, 307.56°)
OKLaboklab(32.41% 0.0461 -0.1452)
OKLCHoklch(32.41% 0.152 287.6)
XYZxyz(5.3899, 2.8819, 19.0073)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35197B #5F7B19
analogous
#192E7B #35197B #66197B
triadic
#35197B #7B3519 #197B35
tetradic
#35197B #7B192E #5F7B19 #197B66
square
#35197B #7B192E #5F7B19 #197B66
split-complementary
#35197B #7B6619 #2E7B19
monochromatic
#0B0519 #1F0F48 #35197B #4B23AE #6538D7

Accessibility & contrast

On white

13.32
#35197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#35197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35197B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35197B#FFFFFF#000000##FFFFFF
##35197B1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#173549
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35197b;
/* rgb */ color: rgb(53, 25, 123);
/* oklch */ color: oklch(32.4% 0.152 287.6);
Tailwind
colors: {
  custom: {
    50: '#7559a2',
    500: '#35197b',
    950: '#000000',
  },
}
SCSS
$custom: #35197b;
$custom-light: #7559a2;
$custom-dark: #000000;
JSON
{
  "hex": "#35197b",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 257.143,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32405,
    "c": 0.15234,
    "h": 287.6
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#35197B
secondary
#90AF40
accent
#E93FB8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35197B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#35197B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva