#37117E#37117E

#37117E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.163 H 289.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#37117E
RGBrgb(55, 17, 126)
HSLhsl(261, 76%, 28%)
HSVhsv(261, 87%, 49%)
CMYKcmyk(56.3%, 86.5%, 0%, 50.6%)
CIE-LABlab(18.88, 43.52, -53.49)
CIE-LCHlch(18.88, 68.95, 309.13°)
OKLaboklab(32.08% 0.0538 -0.1539)
OKLCHoklch(32.08% 0.163 289.3)
XYZxyz(5.5408, 2.7192, 19.9675)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37117E #587E11
analogous
#11227E #37117E #6D117E
triadic
#37117E #7E3711 #117E37
tetradic
#37117E #7E1122 #587E11 #117E6D
square
#37117E #7E1122 #587E11 #117E6D
split-complementary
#37117E #7E6D11 #227E11
monochromatic
#0C041B #1F0A48 #37117E #4F18B4 #6827E2

Accessibility & contrast

On white

13.60
#37117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#37117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37117E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37117E#FFFFFF#000000##FFFFFF
##37117E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#1A3349
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #37117e;
/* rgb */ color: rgb(55, 17, 126);
/* oklch */ color: oklch(32.1% 0.163 289.3);
Tailwind
colors: {
  custom: {
    50: '#7756a4',
    500: '#37117e',
    950: '#000000',
  },
}
SCSS
$custom: #37117e;
$custom-light: #7756a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37117e",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 260.917,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32082,
    "c": 0.16302,
    "h": 289.3
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#37117E
secondary
#88B437
accent
#F335B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #37117E

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

Preview Lab → · Contrast checker → · Palette generator →

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