#37125D#37125D

#37125D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.124 H 301.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#37125D
RGBrgb(55, 18, 93)
HSLhsl(270, 68%, 22%)
HSVhsv(270, 81%, 36%)
CMYKcmyk(40.9%, 80.6%, 0%, 63.5%)
CIE-LABlab(15.67, 33.97, -37.25)
CIE-LCHlch(15.67, 50.41, 312.36°)
OKLaboklab(28.83% 0.0644 -0.1063)
OKLCHoklch(28.83% 0.124 301.2)
XYZxyz(3.7672, 2.0351, 10.5482)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37125D #385D12
analogous
#12135D #37125D #5D125D
triadic
#37125D #5D3712 #125D37
tetradic
#37125D #5D1213 #385D12 #125D5D
square
#37125D #5D1213 #385D12 #125D5D
split-complementary
#37125D #5D5D12 #135D12
monochromatic
#0F051A #19082A #37125D #551C90 #7426C4

Accessibility & contrast

On white

14.93
#37125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#37125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37125D
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37125D#FFFFFF#000000##FFFFFF
##37125D1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#2F2537
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37125d;
/* rgb */ color: rgb(55, 18, 93);
/* oklch */ color: oklch(28.8% 0.124 301.2);
Tailwind
colors: {
  custom: {
    50: '#72548c',
    500: '#37125d',
    950: '#000000',
  },
}
SCSS
$custom: #37125d;
$custom-light: #72548c;
$custom-dark: #000000;
JSON
{
  "hex": "#37125d",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 269.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28834,
    "c": 0.12434,
    "h": 301.2
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#37125D
secondary
#669535
accent
#EA3D95
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37125D

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

Preview Lab → · Contrast checker → · Palette generator →

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