#37124F#37124F

#37124F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.108 H 308.7°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#37124F
RGBrgb(55, 18, 79)
HSLhsl(276, 63%, 19%)
HSVhsv(276, 77%, 31%)
CMYKcmyk(30.4%, 77.2%, 0%, 69%)
CIE-LABlab(14.45, 30.23, -29.75)
CIE-LCHlch(14.45, 42.42, 315.46°)
OKLaboklab(27.59% 0.0675 -0.0843)
OKLCHoklch(27.59% 0.108 308.7)
XYZxyz(3.2028, 1.8094, 7.5761)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37124F #2A4F12
analogous
#18124F #37124F #4F1249
triadic
#37124F #4F3712 #124F37
tetradic
#37124F #4F1812 #2A4F12 #12494F
square
#37124F #4F1812 #2A4F12 #12494F
split-complementary
#37124F #494F12 #124F18
monochromatic
#110619 #14071D #37124F #5A1D81 #7C29B3

Accessibility & contrast

On white

15.42
#37124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37124F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37124F#FFFFFF#000000##FFFFFF
##37124F1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#05254E
Tritanopia (blue-blind)
#33202F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #37124f;
/* rgb */ color: rgb(55, 18, 79);
/* oklch */ color: oklch(27.6% 0.108 308.7);
Tailwind
colors: {
  custom: {
    50: '#715381',
    500: '#37124f',
    950: '#000000',
  },
}
SCSS
$custom: #37124f;
$custom-light: #715381;
$custom-dark: #000000;
JSON
{
  "hex": "#37124f",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 276.393,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27591,
    "c": 0.10796,
    "h": 308.7
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#37124F
secondary
#568835
accent
#E64282
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37124F

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

Preview Lab → · Contrast checker → · Palette generator →

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