#35188E#35188E

#35188E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.176 H 283.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#35188E
RGBrgb(53, 24, 142)
HSLhsl(255, 71%, 33%)
HSVhsv(255, 83%, 56%)
CMYKcmyk(62.7%, 83.1%, 0%, 44.3%)
CIE-LABlab(21.44, 44.91, -59.34)
CIE-LCHlch(21.44, 74.42, 307.12°)
OKLaboklab(34.32% 0.0406 -0.1711)
OKLCHoklch(34.32% 0.176 283.3)
XYZxyz(6.6758, 3.3627, 25.8832)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35188E #718E18
analogous
#18368E #35188E #70188E
triadic
#35188E #8E3518 #188E35
tetradic
#35188E #8E1836 #718E18 #188E70
square
#35188E #8E1836 #718E18 #188E70
split-complementary
#35188E #8E7018 #368E18
monochromatic
#0E0625 #210F5A #35188E #4921C2 #6841DF

Accessibility & contrast

On white

12.56
#35188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#35188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35188E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35188E#FFFFFF#000000##FFFFFF
##35188E1.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)
#003791
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35188e;
/* rgb */ color: rgb(53, 24, 142);
/* oklch */ color: oklch(34.3% 0.176 283.3);
Tailwind
colors: {
  custom: {
    50: '#795ab0',
    500: '#35188e',
    950: '#000000',
  },
}
SCSS
$custom: #35188e;
$custom-light: #795ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#35188e",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 254.746,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34318,
    "c": 0.17585,
    "h": 283.3
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#35188E
secondary
#A1C042
accent
#EE3AC2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #35188E

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

Preview Lab → · Contrast checker → · Palette generator →

#35188E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva