#35187D#35187D

#35187D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.156 H 287.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#35187D
RGBrgb(53, 24, 125)
HSLhsl(257, 68%, 29%)
HSVhsv(257, 81%, 49%)
CMYKcmyk(57.6%, 80.8%, 0%, 51%)
CIE-LABlab(19.60, 39.89, -51.67)
CIE-LCHlch(19.60, 65.28, 307.67°)
OKLaboklab(32.49% 0.0463 -0.1487)
OKLCHoklch(32.49% 0.156 287.3)
XYZxyz(5.4954, 2.8905, 19.6664)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35187D #607D18
analogous
#182E7D #35187D #68187D
triadic
#35187D #7D3518 #187D35
tetradic
#35187D #7D182E #607D18 #187D68
square
#35187D #7D182E #607D18 #187D68
split-complementary
#35187D #7D6818 #2E7D18
monochromatic
#0B051A #1F0E4A #35187D #4B22B0 #6537D9

Accessibility & contrast

On white

13.31
#35187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#35187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35187D
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35187D#FFFFFF#000000##FFFFFF
##35187D1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#15354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35187d;
/* rgb */ color: rgb(53, 24, 125);
/* oklch */ color: oklch(32.5% 0.156 287.3);
Tailwind
colors: {
  custom: {
    50: '#7659a4',
    500: '#35187d',
    950: '#000000',
  },
}
SCSS
$custom: #35187d;
$custom-light: #7659a4;
$custom-dark: #000000;
JSON
{
  "hex": "#35187d",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 257.228,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32492,
    "c": 0.15576,
    "h": 287.3
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#35187D
secondary
#91B23F
accent
#EB3DB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35187D

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

Preview Lab → · Contrast checker → · Palette generator →

#35187D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva