#37124C#37124C

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

Color values

HEX#37124C
RGBrgb(55, 18, 76)
HSLhsl(278, 62%, 18%)
HSVhsv(278, 76%, 30%)
CMYKcmyk(27.6%, 76.3%, 0%, 70.2%)
CIE-LABlab(14.21, 29.46, -28.08)
CIE-LCHlch(14.21, 40.70, 316.37°)
OKLaboklab(27.34% 0.0679 -0.0794)
OKLCHoklch(27.34% 0.104 310.5)
XYZxyz(3.0961, 1.7667, 7.0140)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37124C #274C12
analogous
#1A124C #37124C #4C1244
triadic
#37124C #4C3712 #124C37
tetradic
#37124C #4C1A12 #274C12 #12444C
square
#37124C #4C1A12 #274C12 #12444C
split-complementary
#37124C #444C12 #124C1A
monochromatic
#120619 #13061B #37124C #5B1E7D #7F29AF

Accessibility & contrast

On white

15.52
#37124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37124C
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37124C#FFFFFF#000000##FFFFFF
##37124C1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#09254B
Tritanopia (blue-blind)
#341E2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #37124c;
/* rgb */ color: rgb(55, 18, 76);
/* oklch */ color: oklch(27.3% 0.104 310.5);
Tailwind
colors: {
  custom: {
    50: '#70537e',
    500: '#37124c',
    950: '#000000',
  },
}
SCSS
$custom: #37124c;
$custom-light: #70537e;
$custom-dark: #000000;
JSON
{
  "hex": "#37124c",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 278.276,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27342,
    "c": 0.10445,
    "h": 310.5
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#37124C
secondary
#528535
accent
#E5437E
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37124C

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

Preview Lab → · Contrast checker → · Palette generator →

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