#35286B#35286B

#35286B is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.2% C 0.112 H 287.6°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#35286B
RGBrgb(53, 40, 107)
HSLhsl(252, 46%, 29%)
HSVhsv(252, 63%, 42%)
CMYKcmyk(50.5%, 62.6%, 0%, 58%)
CIE-LABlab(21.34, 24.88, -37.26)
CIE-LCHlch(21.34, 44.81, 303.73°)
OKLaboklab(33.23% 0.0339 -0.1065)
OKLCHoklch(33.23% 0.112 287.6)
XYZxyz(4.8801, 3.3358, 14.2938)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35286B #5E6B28
analogous
#283D6B #35286B #57286B
triadic
#35286B #6B3528 #286B35
tetradic
#35286B #6B283D #5E6B28 #286B57
square
#35286B #6B283D #5E6B28 #286B57
split-complementary
#35286B #6B5728 #3D6B28
monochromatic
#0B0816 #1F173E #35286B #4B3998 #6550BE

Accessibility & contrast

On white

12.60
#35286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#35286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35286B
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35286B#FFFFFF#000000##FFFFFF
##35286B1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#233745
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35286b;
/* rgb */ color: rgb(53, 40, 107);
/* oklch */ color: oklch(33.2% 0.112 287.6);
Tailwind
colors: {
  custom: {
    50: '#716296',
    500: '#35286b',
    950: '#000000',
  },
}
SCSS
$custom: #35286b;
$custom-light: #716296;
$custom-dark: #000000;
JSON
{
  "hex": "#35286b",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 251.642,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.11176,
    "h": 287.6
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#35286B
secondary
#8F9D51
accent
#D553BC
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35286B

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

Preview Lab → · Contrast checker → · Palette generator →

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