#35208C#35208C

#35208C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.166 H 282.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#35208C
RGBrgb(53, 32, 140)
HSLhsl(252, 63%, 34%)
HSVhsv(252, 77%, 55%)
CMYKcmyk(62.1%, 77.1%, 0%, 45.1%)
CIE-LABlab(22.59, 40.36, -56.19)
CIE-LCHlch(22.59, 69.19, 305.69°)
OKLaboklab(35.06% 0.0361 -0.162)
OKLCHoklch(35.06% 0.166 282.6)
XYZxyz(6.7169, 3.6829, 25.1628)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35208C #778C20
analogous
#20418C #35208C #6B208C
triadic
#35208C #8C3520 #208C35
tetradic
#35208C #8C2041 #778C20 #208C6B
square
#35208C #8C2041 #778C20 #208C6B
split-complementary
#35208C #8C6B20 #418C20
monochromatic
#0F0928 #22155A #35208C #482BBE #6A50D7

Accessibility & contrast

On white

12.09
#35208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#35208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35208C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35208C#FFFFFF#000000##FFFFFF
##35208C1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #35208c;
/* rgb */ color: rgb(53, 32, 140);
/* oklch */ color: oklch(35.1% 0.166 282.6);
Tailwind
colors: {
  custom: {
    50: '#785eaf',
    500: '#35208c',
    950: '#000000',
  },
}
SCSS
$custom: #35208c;
$custom-light: #785eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#35208c",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 251.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35058,
    "c": 0.166,
    "h": 282.6
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#35208C
secondary
#A5BA4E
accent
#E642C6
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #35208C

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

Preview Lab → · Contrast checker → · Palette generator →

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