#35207B#35207B

#35207B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.145 H 286.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#35207B
RGBrgb(53, 32, 123)
HSLhsl(254, 59%, 30%)
HSVhsv(254, 74%, 48%)
CMYKcmyk(56.9%, 74%, 0%, 51.8%)
CIE-LABlab(20.90, 35.02, -48.26)
CIE-LCHlch(20.90, 59.63, 305.96°)
OKLaboklab(33.35% 0.0403 -0.1388)
OKLCHoklch(33.35% 0.145 286.2)
XYZxyz(5.5588, 3.2197, 19.0636)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35207B #667B20
analogous
#20387B #35207B #62207B
triadic
#35207B #7B3520 #207B35
tetradic
#35207B #7B2038 #667B20 #207B62
square
#35207B #7B2038 #667B20 #207B62
split-complementary
#35207B #7B6220 #387B20
monochromatic
#0B071A #20134A #35207B #4A2DAC #6646CF

Accessibility & contrast

On white

12.77
#35207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#35207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35207B
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35207B#FFFFFF#000000##FFFFFF
##35207B1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#16384B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #35207b;
/* rgb */ color: rgb(53, 32, 123);
/* oklch */ color: oklch(33.3% 0.145 286.2);
Tailwind
colors: {
  custom: {
    50: '#755ea2',
    500: '#35207b',
    950: '#000000',
  },
}
SCSS
$custom: #35207b;
$custom-light: #755ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#35207b",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 253.846,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33349,
    "c": 0.14453,
    "h": 286.2
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#35207B
secondary
#97AE49
accent
#E246BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35207B

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

Preview Lab → · Contrast checker → · Palette generator →

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