#35187C#35187C

#35187C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.155 H 287.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#35187C
RGBrgb(53, 24, 124)
HSLhsl(257, 68%, 29%)
HSVhsv(257, 81%, 49%)
CMYKcmyk(57.3%, 80.6%, 0%, 51.4%)
CIE-LABlab(19.50, 39.59, -51.21)
CIE-LCHlch(19.50, 64.73, 307.71°)
OKLaboklab(32.39% 0.0466 -0.1474)
OKLCHoklch(32.39% 0.155 287.5)
XYZxyz(5.4318, 2.8651, 19.3317)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35187C #5F7C18
analogous
#182D7C #35187C #67187C
triadic
#35187C #7C3518 #187C35
tetradic
#35187C #7C182D #5F7C18 #187C67
square
#35187C #7C182D #5F7C18 #187C67
split-complementary
#35187C #7C6718 #2D7C18
monochromatic
#0B051A #1F0E49 #35187C #4B22AF #6536D8

Accessibility & contrast

On white

13.35
#35187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#35187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35187C
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35187C#FFFFFF#000000##FFFFFF
##35187C1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#16354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35187c;
/* rgb */ color: rgb(53, 24, 124);
/* oklch */ color: oklch(32.4% 0.155 287.5);
Tailwind
colors: {
  custom: {
    50: '#7559a3',
    500: '#35187c',
    950: '#000000',
  },
}
SCSS
$custom: #35187c;
$custom-light: #7559a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35187c",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 257.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32388,
    "c": 0.15456,
    "h": 287.5
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#35187C
secondary
#90B13F
accent
#EA3DB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35187C

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

Preview Lab → · Contrast checker → · Palette generator →

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