#35286C#35286C

#35286C is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.3% C 0.113 H 287.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#35286C
RGBrgb(53, 40, 108)
HSLhsl(251, 46%, 29%)
HSVhsv(251, 63%, 42%)
CMYKcmyk(50.9%, 63%, 0%, 57.6%)
CIE-LABlab(21.42, 25.21, -37.78)
CIE-LCHlch(21.42, 45.42, 303.71°)
OKLaboklab(33.31% 0.0338 -0.108)
OKLCHoklch(33.31% 0.113 287.4)
XYZxyz(4.9330, 3.3570, 14.5725)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35286C #5F6C28
analogous
#283D6C #35286C #57286C
triadic
#35286C #6C3528 #286C35
tetradic
#35286C #6C283D #5F6C28 #286C57
square
#35286C #6C283D #5F6C28 #286C57
split-complementary
#35286C #6C5728 #3D6C28
monochromatic
#0B0816 #1F173F #35286C #4B3999 #6550BE

Accessibility & contrast

On white

12.56
#35286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35286C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35286C#FFFFFF#000000##FFFFFF
##35286C1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#223846
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35286c;
/* rgb */ color: rgb(53, 40, 108);
/* oklch */ color: oklch(33.3% 0.113 287.4);
Tailwind
colors: {
  custom: {
    50: '#716297',
    500: '#35286c',
    950: '#000000',
  },
}
SCSS
$custom: #35286c;
$custom-light: #716297;
$custom-dark: #000000;
JSON
{
  "hex": "#35286c",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 251.471,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33314,
    "c": 0.11321,
    "h": 287.4
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#35286C
secondary
#909E51
accent
#D652BC
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35286C

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

Preview Lab → · Contrast checker → · Palette generator →

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