#35207A#35207A

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

Color values

HEX#35207A
RGBrgb(53, 32, 122)
HSLhsl(254, 58%, 30%)
HSVhsv(254, 74%, 48%)
CMYKcmyk(56.6%, 73.8%, 0%, 52.2%)
CIE-LABlab(20.81, 34.70, -47.78)
CIE-LCHlch(20.81, 59.05, 305.99°)
OKLaboklab(33.25% 0.0405 -0.1374)
OKLCHoklch(33.25% 0.143 286.4)
XYZxyz(5.4965, 3.1948, 18.7356)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35207A #657A20
analogous
#20387A #35207A #62207A
triadic
#35207A #7A3520 #207A35
tetradic
#35207A #7A2038 #657A20 #207A62
square
#35207A #7A2038 #657A20 #207A62
split-complementary
#35207A #7A6220 #387A20
monochromatic
#0B0719 #20134A #35207A #4A2DAA #6646CE

Accessibility & contrast

On white

12.81
#35207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35207A
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35207A#FFFFFF#000000##FFFFFF
##35207A1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#17384A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #35207a;
/* rgb */ color: rgb(53, 32, 122);
/* oklch */ color: oklch(33.3% 0.143 286.4);
Tailwind
colors: {
  custom: {
    50: '#745da1',
    500: '#35207a',
    950: '#000000',
  },
}
SCSS
$custom: #35207a;
$custom-light: #745da1;
$custom-dark: #000000;
JSON
{
  "hex": "#35207a",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 254,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33251,
    "c": 0.14324,
    "h": 286.4
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#35207A
secondary
#96AD49
accent
#E246BD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35207A

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

Preview Lab → · Contrast checker → · Palette generator →

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