#35208B#35208B

#35208B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.165 H 282.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#35208B
RGBrgb(53, 32, 139)
HSLhsl(252, 63%, 34%)
HSVhsv(252, 77%, 55%)
CMYKcmyk(61.9%, 77%, 0%, 45.5%)
CIE-LABlab(22.49, 40.05, -55.74)
CIE-LCHlch(22.49, 68.64, 305.70°)
OKLaboklab(34.95% 0.0364 -0.1607)
OKLCHoklch(34.95% 0.165 282.8)
XYZxyz(6.6435, 3.6535, 24.7762)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35208B #768B20
analogous
#20408B #35208B #6A208B
triadic
#35208B #8B3520 #208B35
tetradic
#35208B #8B2040 #768B20 #208B6A
square
#35208B #8B2040 #768B20 #208B6A
split-complementary
#35208B #8B6A20 #408B20
monochromatic
#0F0928 #221559 #35208B #482BBD #6A4FD6

Accessibility & contrast

On white

12.13
#35208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#35208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35208B
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35208B#FFFFFF#000000##FFFFFF
##35208B1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #35208b;
/* rgb */ color: rgb(53, 32, 139);
/* oklch */ color: oklch(35.0% 0.165 282.8);
Tailwind
colors: {
  custom: {
    50: '#785eae',
    500: '#35208b',
    950: '#000000',
  },
}
SCSS
$custom: #35208b;
$custom-light: #785eae;
$custom-dark: #000000;
JSON
{
  "hex": "#35208b",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 251.776,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34954,
    "c": 0.16476,
    "h": 282.8
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#35208B
secondary
#A4BA4D
accent
#E642C6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #35208B

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

Preview Lab → · Contrast checker → · Palette generator →

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