#37125B#37125B

#37125B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.122 H 302.2°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#37125B
RGBrgb(55, 18, 91)
HSLhsl(270, 67%, 21%)
HSVhsv(270, 80%, 36%)
CMYKcmyk(39.6%, 80.2%, 0%, 64.3%)
CIE-LABlab(15.49, 33.42, -36.21)
CIE-LCHlch(15.49, 49.27, 312.71°)
OKLaboklab(28.65% 0.065 -0.1033)
OKLCHoklch(28.65% 0.122 302.2)
XYZxyz(3.6797, 2.0002, 10.0877)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37125B #365B12
analogous
#13125B #37125B #5B125B
triadic
#37125B #5B3712 #125B37
tetradic
#37125B #5B1312 #365B12 #125B5B
square
#37125B #5B1312 #365B12 #125B5B
split-complementary
#37125B #5B5B12 #125B13
monochromatic
#0F051A #180828 #37125B #561C8E #7526C1

Accessibility & contrast

On white

15.00
#37125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37125B
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37125B#FFFFFF#000000##FFFFFF
##37125B1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#2F2535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37125b;
/* rgb */ color: rgb(55, 18, 91);
/* oklch */ color: oklch(28.6% 0.122 302.2);
Tailwind
colors: {
  custom: {
    50: '#72548a',
    500: '#37125b',
    950: '#000000',
  },
}
SCSS
$custom: #37125b;
$custom-light: #72548a;
$custom-dark: #000000;
JSON
{
  "hex": "#37125b",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 270.411,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28649,
    "c": 0.122,
    "h": 302.2
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#37125B
secondary
#649335
accent
#EA3E93
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37125B

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

Preview Lab → · Contrast checker → · Palette generator →

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