#37126A#37126A

#37126A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.139 H 295.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#37126A
RGBrgb(55, 18, 106)
HSLhsl(265, 71%, 24%)
HSVhsv(265, 83%, 42%)
CMYKcmyk(48.1%, 83%, 0%, 58.4%)
CIE-LABlab(16.92, 37.54, -43.81)
CIE-LCHlch(16.92, 57.70, 310.60°)
OKLaboklab(30.09% 0.0605 -0.1256)
OKLCHoklch(30.09% 0.139 295.7)
XYZxyz(4.3927, 2.2853, 13.8425)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37126A #456A12
analogous
#12196A #37126A #63126A
triadic
#37126A #6A3712 #126A37
tetradic
#37126A #6A1219 #456A12 #126A63
square
#37126A #6A1219 #456A12 #126A63
split-complementary
#37126A #6A6312 #196A12
monochromatic
#0E041A #1C0936 #37126A #521B9E #6D24D3

Accessibility & contrast

On white

14.41
#37126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#37126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37126A
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37126A#FFFFFF#000000##FFFFFF
##37126A1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#292B3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #37126a;
/* rgb */ color: rgb(55, 18, 106);
/* oklch */ color: oklch(30.1% 0.139 295.7);
Tailwind
colors: {
  custom: {
    50: '#745595',
    500: '#37126a',
    950: '#000000',
  },
}
SCSS
$custom: #37126a;
$custom-light: #745595;
$custom-dark: #000000;
JSON
{
  "hex": "#37126a",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 265.227,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30091,
    "c": 0.13941,
    "h": 295.7
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#37126A
secondary
#74A236
accent
#EE3AA2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37126A

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

Preview Lab → · Contrast checker → · Palette generator →

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