#37125C#37125C

#37125C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.123 H 301.7°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#37125C
RGBrgb(55, 18, 92)
HSLhsl(270, 67%, 22%)
HSVhsv(270, 80%, 36%)
CMYKcmyk(40.2%, 80.4%, 0%, 63.9%)
CIE-LABlab(15.58, 33.69, -36.73)
CIE-LCHlch(15.58, 49.84, 312.53°)
OKLaboklab(28.74% 0.0647 -0.1048)
OKLCHoklch(28.74% 0.123 301.7)
XYZxyz(3.7232, 2.0175, 10.3164)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37125C #375C12
analogous
#12125C #37125C #5C125C
triadic
#37125C #5C3712 #125C37
tetradic
#37125C #5C1212 #375C12 #125C5C
square
#37125C #5C1212 #375C12 #125C5C
split-complementary
#37125C #5C5C12 #125C12
monochromatic
#0F051A #180829 #37125C #561C8F #7426C2

Accessibility & contrast

On white

14.96
#37125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#37125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37125C
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37125C#FFFFFF#000000##FFFFFF
##37125C1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#2F2536
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37125c;
/* rgb */ color: rgb(55, 18, 92);
/* oklch */ color: oklch(28.7% 0.123 301.7);
Tailwind
colors: {
  custom: {
    50: '#72548b',
    500: '#37125c',
    950: '#000000',
  },
}
SCSS
$custom: #37125c;
$custom-light: #72548b;
$custom-dark: #000000;
JSON
{
  "hex": "#37125c",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 270,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28741,
    "c": 0.12317,
    "h": 301.7
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#37125C
secondary
#659435
accent
#EA3E94
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37125C

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

Preview Lab → · Contrast checker → · Palette generator →

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