#37125F#37125F

#37125F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.127 H 300.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#37125F
RGBrgb(55, 18, 95)
HSLhsl(269, 68%, 22%)
HSVhsv(269, 81%, 37%)
CMYKcmyk(42.1%, 81.1%, 0%, 62.7%)
CIE-LABlab(15.86, 34.51, -38.28)
CIE-LCHlch(15.86, 51.54, 312.03°)
OKLaboklab(29.02% 0.0639 -0.1094)
OKLCHoklch(29.02% 0.127 300.3)
XYZxyz(3.8569, 2.0710, 11.0208)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37125F #3A5F12
analogous
#12145F #37125F #5E125F
triadic
#37125F #5F3712 #125F37
tetradic
#37125F #5F1214 #3A5F12 #125F5E
square
#37125F #5F1214 #3A5F12 #125F5E
split-complementary
#37125F #5F5E12 #145F12
monochromatic
#0F051A #19082C #37125F #551C92 #7325C6

Accessibility & contrast

On white

14.85
#37125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37125F
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37125F#FFFFFF#000000##FFFFFF
##37125F1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37125f;
/* rgb */ color: rgb(55, 18, 95);
/* oklch */ color: oklch(29.0% 0.127 300.3);
Tailwind
colors: {
  custom: {
    50: '#72548d',
    500: '#37125f',
    950: '#000000',
  },
}
SCSS
$custom: #37125f;
$custom-light: #72548d;
$custom-dark: #000000;
JSON
{
  "hex": "#37125f",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 268.831,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29021,
    "c": 0.12666,
    "h": 300.3
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#37125F
secondary
#689736
accent
#EB3D97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37125F

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

Preview Lab → · Contrast checker → · Palette generator →

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