#37124B#37124B

#37124B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.103 H 311.2°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#37124B
RGBrgb(55, 18, 75)
HSLhsl(279, 61%, 18%)
HSVhsv(279, 76%, 29%)
CMYKcmyk(26.7%, 76%, 0%, 70.6%)
CIE-LABlab(14.13, 29.20, -27.52)
CIE-LCHlch(14.13, 40.13, 316.70°)
OKLaboklab(27.26% 0.068 -0.0777)
OKLCHoklch(27.26% 0.103 311.2)
XYZxyz(3.0616, 1.7529, 6.8323)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37124B #264B12
analogous
#1A124B #37124B #4B1242
triadic
#37124B #4B3712 #124B37
tetradic
#37124B #4B1A12 #264B12 #12424B
square
#37124B #4B1A12 #264B12 #12424B
split-complementary
#37124B #424B12 #124B1A
monochromatic
#120619 #13061A #37124B #5B1E7C #7F2AAE

Accessibility & contrast

On white

15.55
#37124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#37124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37124B
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37124B#FFFFFF#000000##FFFFFF
##37124B1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#0B254A
Tritanopia (blue-blind)
#341E2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #37124b;
/* rgb */ color: rgb(55, 18, 75);
/* oklch */ color: oklch(27.3% 0.103 311.2);
Tailwind
colors: {
  custom: {
    50: '#70537e',
    500: '#37124b',
    950: '#000000',
  },
}
SCSS
$custom: #37124b;
$custom-light: #70537e;
$custom-dark: #000000;
JSON
{
  "hex": "#37124b",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 278.947,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27261,
    "c": 0.10329,
    "h": 311.2
  },
  "luminance": 0.01753
}

Semantic roles & 50–950 ramp

primary
#37124B
secondary
#518435
accent
#E4437C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37124B

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

Preview Lab → · Contrast checker → · Palette generator →

#37124B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva