#35208A#35208A

#35208A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.164 H 283.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#35208A
RGBrgb(53, 32, 138)
HSLhsl(252, 62%, 33%)
HSVhsv(252, 77%, 54%)
CMYKcmyk(61.6%, 76.8%, 0%, 45.9%)
CIE-LABlab(22.39, 39.74, -55.28)
CIE-LCHlch(22.39, 68.08, 305.71°)
OKLaboklab(34.85% 0.0367 -0.1594)
OKLCHoklch(34.85% 0.164 283)
XYZxyz(6.5707, 3.6244, 24.3932)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35208A #758A20
analogous
#20408A #35208A #6A208A
triadic
#35208A #8A3520 #208A35
tetradic
#35208A #8A2040 #758A20 #208A6A
square
#35208A #8A2040 #758A20 #208A6A
split-complementary
#35208A #8A6A20 #408A20
monochromatic
#0F0927 #221458 #35208A #482CBC #694ED6

Accessibility & contrast

On white

12.17
#35208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35208A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35208A#FFFFFF#000000##FFFFFF
##35208A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #35208a;
/* rgb */ color: rgb(53, 32, 138);
/* oklch */ color: oklch(34.9% 0.164 283.0);
Tailwind
colors: {
  custom: {
    50: '#775ead',
    500: '#35208a',
    950: '#000000',
  },
}
SCSS
$custom: #35208a;
$custom-light: #775ead;
$custom-dark: #000000;
JSON
{
  "hex": "#35208a",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 251.887,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.16352,
    "h": 283
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#35208A
secondary
#A4B94D
accent
#E542C5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #35208A

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

Preview Lab → · Contrast checker → · Palette generator →

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