#37125E#37125E

#37125E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.126 H 300.8°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#37125E
RGBrgb(55, 18, 94)
HSLhsl(269, 68%, 22%)
HSVhsv(269, 81%, 37%)
CMYKcmyk(41.5%, 80.9%, 0%, 63.1%)
CIE-LABlab(15.76, 34.24, -37.77)
CIE-LCHlch(15.76, 50.98, 312.19°)
OKLaboklab(28.93% 0.0642 -0.1079)
OKLCHoklch(28.93% 0.126 300.8)
XYZxyz(3.8117, 2.0530, 10.7829)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37125E #395E12
analogous
#12135E #37125E #5D125E
triadic
#37125E #5E3712 #125E37
tetradic
#37125E #5E1213 #395E12 #125E5D
square
#37125E #5E1213 #395E12 #125E5D
split-complementary
#37125E #5E5D12 #135E12
monochromatic
#0F051A #19082B #37125E #551C91 #7326C5

Accessibility & contrast

On white

14.89
#37125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37125E
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37125E#FFFFFF#000000##FFFFFF
##37125E1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#2E2637
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37125e;
/* rgb */ color: rgb(55, 18, 94);
/* oklch */ color: oklch(28.9% 0.126 300.8);
Tailwind
colors: {
  custom: {
    50: '#72548c',
    500: '#37125e',
    950: '#000000',
  },
}
SCSS
$custom: #37125e;
$custom-light: #72548c;
$custom-dark: #000000;
JSON
{
  "hex": "#37125e",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 269.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28927,
    "c": 0.12551,
    "h": 300.8
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#37125E
secondary
#679635
accent
#EB3D96
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37125E

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

Preview Lab → · Contrast checker → · Palette generator →

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