#35187A#35187A

#35187A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.152 H 288.1°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#35187A
RGBrgb(53, 24, 122)
HSLhsl(258, 67%, 29%)
HSVhsv(258, 80%, 48%)
CMYKcmyk(56.6%, 80.3%, 0%, 52.2%)
CIE-LABlab(19.29, 39.00, -50.28)
CIE-LCHlch(19.29, 63.63, 307.80°)
OKLaboklab(32.18% 0.0472 -0.1446)
OKLCHoklch(32.18% 0.152 288.1)
XYZxyz(5.3066, 2.8150, 18.6723)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35187A #5D7A18
analogous
#182C7A #35187A #66187A
triadic
#35187A #7A3518 #187A35
tetradic
#35187A #7A182C #5D7A18 #187A66
square
#35187A #7A182C #5D7A18 #187A66
split-complementary
#35187A #7A6618 #2C7A18
monochromatic
#0B051A #1F0E47 #35187A #4B22AD #6535D7

Accessibility & contrast

On white

13.44
#35187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#35187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35187A
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35187A#FFFFFF#000000##FFFFFF
##35187A1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#183448
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35187a;
/* rgb */ color: rgb(53, 24, 122);
/* oklch */ color: oklch(32.2% 0.152 288.1);
Tailwind
colors: {
  custom: {
    50: '#7559a1',
    500: '#35187a',
    950: '#000000',
  },
}
SCSS
$custom: #35187a;
$custom-light: #7559a1;
$custom-dark: #000000;
JSON
{
  "hex": "#35187a",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 257.755,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3218,
    "c": 0.15216,
    "h": 288.1
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#35187A
secondary
#8EAF3F
accent
#EA3EB7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35187A

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

Preview Lab → · Contrast checker → · Palette generator →

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