#37124D#37124D

#37124D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.106 H 309.9°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#37124D
RGBrgb(55, 18, 77)
HSLhsl(278, 62%, 19%)
HSVhsv(278, 77%, 30%)
CMYKcmyk(28.6%, 76.6%, 0%, 69.8%)
CIE-LABlab(14.29, 29.72, -28.64)
CIE-LCHlch(14.29, 41.27, 316.05°)
OKLaboklab(27.43% 0.0677 -0.081)
OKLCHoklch(27.43% 0.106 309.9)
XYZxyz(3.1311, 1.7807, 7.1985)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37124D #284D12
analogous
#19124D #37124D #4D1245
triadic
#37124D #4D3712 #124D37
tetradic
#37124D #4D1912 #284D12 #12454D
square
#37124D #4D1912 #284D12 #12454D
split-complementary
#37124D #454D12 #124D19
monochromatic
#120619 #14061B #37124D #5A1E7F #7E29B0

Accessibility & contrast

On white

15.48
#37124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#37124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37124D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37124D#FFFFFF#000000##FFFFFF
##37124D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#08254C
Tritanopia (blue-blind)
#341F2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #37124d;
/* rgb */ color: rgb(55, 18, 77);
/* oklch */ color: oklch(27.4% 0.106 309.9);
Tailwind
colors: {
  custom: {
    50: '#70537f',
    500: '#37124d',
    950: '#000000',
  },
}
SCSS
$custom: #37124d;
$custom-light: #70537f;
$custom-dark: #000000;
JSON
{
  "hex": "#37124d",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 277.627,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27425,
    "c": 0.10562,
    "h": 309.9
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#37124D
secondary
#538635
accent
#E5437F
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37124D

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

Preview Lab → · Contrast checker → · Palette generator →

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