#37124A#37124A

#37124A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.102 H 311.8°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#37124A
RGBrgb(55, 18, 74)
HSLhsl(280, 61%, 18%)
HSVhsv(280, 76%, 29%)
CMYKcmyk(25.7%, 75.7%, 0%, 71%)
CIE-LABlab(14.05, 28.95, -26.96)
CIE-LCHlch(14.05, 39.56, 317.04°)
OKLaboklab(27.18% 0.0681 -0.0761)
OKLCHoklch(27.18% 0.102 311.8)
XYZxyz(3.0277, 1.7393, 6.6535)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37124A #254A12
analogous
#1B124A #37124A #4A1241
triadic
#37124A #4A3712 #124A37
tetradic
#37124A #4A1B12 #254A12 #12414A
square
#37124A #4A1B12 #254A12 #12414A
split-complementary
#37124A #414A12 #124A1B
monochromatic
#120619 #120619 #37124A #5C1E7B #802AAC

Accessibility & contrast

On white

15.58
#37124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37124A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37124A#FFFFFF#000000##FFFFFF
##37124A1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#0C2449
Tritanopia (blue-blind)
#351E2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #37124a;
/* rgb */ color: rgb(55, 18, 74);
/* oklch */ color: oklch(27.2% 0.102 311.8);
Tailwind
colors: {
  custom: {
    50: '#70537d',
    500: '#37124a',
    950: '#000000',
  },
}
SCSS
$custom: #37124a;
$custom-light: #70537d;
$custom-dark: #000000;
JSON
{
  "hex": "#37124a",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 279.643,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2718,
    "c": 0.10212,
    "h": 311.8
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#37124A
secondary
#4F8335
accent
#E4447A
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #37124A

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

Preview Lab → · Contrast checker → · Palette generator →

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