#35286F#35286F

#35286F is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.118 H 286.6°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#35286F
RGBrgb(53, 40, 111)
HSLhsl(251, 47%, 30%)
HSVhsv(251, 64%, 44%)
CMYKcmyk(52.3%, 64%, 0%, 56.5%)
CIE-LABlab(21.66, 26.20, -39.34)
CIE-LCHlch(21.66, 47.26, 303.67°)
OKLaboklab(33.57% 0.0337 -0.1126)
OKLCHoklch(33.57% 0.118 286.6)
XYZxyz(5.0954, 3.4219, 15.4279)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35286F #626F28
analogous
#283F6F #35286F #59286F
triadic
#35286F #6F3528 #286F35
tetradic
#35286F #6F283F #626F28 #286F59
square
#35286F #6F283F #626F28 #286F59
split-complementary
#35286F #6F5928 #3F6F28
monochromatic
#0B0816 #201842 #35286F #4A389C #6551C0

Accessibility & contrast

On white

12.47
#35286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#35286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35286F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35286F#FFFFFF#000000##FFFFFF
##35286F1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#203947
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #35286f;
/* rgb */ color: rgb(53, 40, 111);
/* oklch */ color: oklch(33.6% 0.118 286.6);
Tailwind
colors: {
  custom: {
    50: '#726299',
    500: '#35286f',
    950: '#000000',
  },
}
SCSS
$custom: #35286f;
$custom-light: #726299;
$custom-dark: #000000;
JSON
{
  "hex": "#35286f",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 250.986,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33566,
    "c": 0.11753,
    "h": 286.6
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#35286F
secondary
#93A151
accent
#D751BE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #35286F

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

Preview Lab → · Contrast checker → · Palette generator →

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