#37125A#37125A

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

Color values

HEX#37125A
RGBrgb(55, 18, 90)
HSLhsl(271, 67%, 21%)
HSVhsv(271, 80%, 35%)
CMYKcmyk(38.9%, 80%, 0%, 64.7%)
CIE-LABlab(15.40, 33.15, -35.68)
CIE-LCHlch(15.40, 48.71, 312.89°)
OKLaboklab(28.56% 0.0652 -0.1017)
OKLCHoklch(28.56% 0.121 302.7)
XYZxyz(3.6369, 1.9830, 9.8620)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37125A #355A12
analogous
#13125A #37125A #5A1259
triadic
#37125A #5A3712 #125A37
tetradic
#37125A #5A1312 #355A12 #12595A
square
#37125A #5A1312 #355A12 #12595A
split-complementary
#37125A #595A12 #125A13
monochromatic
#10051A #180827 #37125A #561C8D #7526C0

Accessibility & contrast

On white

15.04
#37125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37125A
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37125A#FFFFFF#000000##FFFFFF
##37125A1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#302435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37125a;
/* rgb */ color: rgb(55, 18, 90);
/* oklch */ color: oklch(28.6% 0.121 302.7);
Tailwind
colors: {
  custom: {
    50: '#725489',
    500: '#37125a',
    950: '#000000',
  },
}
SCSS
$custom: #37125a;
$custom-light: #725489;
$custom-dark: #000000;
JSON
{
  "hex": "#37125a",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 270.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28557,
    "c": 0.12084,
    "h": 302.7
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#37125A
secondary
#639335
accent
#EA3E92
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37125A

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

Preview Lab → · Contrast checker → · Palette generator →

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