#35286A#35286A

#35286A is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.1% C 0.110 H 287.9°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#35286A
RGBrgb(53, 40, 106)
HSLhsl(252, 45%, 29%)
HSVhsv(252, 62%, 42%)
CMYKcmyk(50%, 62.3%, 0%, 58.4%)
CIE-LABlab(21.26, 24.55, -36.74)
CIE-LCHlch(21.26, 44.19, 303.75°)
OKLaboklab(33.15% 0.0339 -0.105)
OKLCHoklch(33.15% 0.11 287.9)
XYZxyz(4.8278, 3.3149, 14.0183)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35286A #5D6A28
analogous
#283C6A #35286A #56286A
triadic
#35286A #6A3528 #286A35
tetradic
#35286A #6A283C #5D6A28 #286A56
square
#35286A #6A283C #5D6A28 #286A56
split-complementary
#35286A #6A5628 #3C6A28
monochromatic
#0B0816 #1F173E #35286A #4B3996 #6550BD

Accessibility & contrast

On white

12.63
#35286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#35286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35286A
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35286A#FFFFFF#000000##FFFFFF
##35286A1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#243744
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35286a;
/* rgb */ color: rgb(53, 40, 106);
/* oklch */ color: oklch(33.1% 0.110 287.9);
Tailwind
colors: {
  custom: {
    50: '#716295',
    500: '#35286a',
    950: '#000000',
  },
}
SCSS
$custom: #35286a;
$custom-light: #716295;
$custom-dark: #000000;
JSON
{
  "hex": "#35286a",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 251.818,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33149,
    "c": 0.11031,
    "h": 287.9
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#35286A
secondary
#8E9D51
accent
#D553BB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35286A

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

Preview Lab → · Contrast checker → · Palette generator →

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