#35188D#35188D

#35188D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.175 H 283.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#35188D
RGBrgb(53, 24, 141)
HSLhsl(255, 71%, 32%)
HSVhsv(255, 83%, 55%)
CMYKcmyk(62.4%, 83%, 0%, 44.7%)
CIE-LABlab(21.33, 44.62, -58.90)
CIE-LCHlch(21.33, 73.89, 307.14°)
OKLaboklab(34.21% 0.0409 -0.1698)
OKLCHoklch(34.21% 0.175 283.5)
XYZxyz(6.6011, 3.3328, 25.4896)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35188D #708D18
analogous
#18358D #35188D #70188D
triadic
#35188D #8D3518 #188D35
tetradic
#35188D #8D1835 #708D18 #188D70
square
#35188D #8D1835 #708D18 #188D70
split-complementary
#35188D #8D7018 #358D18
monochromatic
#0E0624 #210F59 #35188D #4921C1 #6841DF

Accessibility & contrast

On white

12.60
#35188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35188D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35188D#FFFFFF#000000##FFFFFF
##35188D1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35188d;
/* rgb */ color: rgb(53, 24, 141);
/* oklch */ color: oklch(34.2% 0.175 283.5);
Tailwind
colors: {
  custom: {
    50: '#795ab0',
    500: '#35188d',
    950: '#000000',
  },
}
SCSS
$custom: #35188d;
$custom-light: #795ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#35188d",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 254.872,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34209,
    "c": 0.17469,
    "h": 283.5
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#35188D
secondary
#A0BF42
accent
#EE3AC1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #35188D

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

Preview Lab → · Contrast checker → · Palette generator →

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