#37137C#37137C

#37137C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.159 H 289.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#37137C
RGBrgb(55, 19, 124)
HSLhsl(261, 73%, 28%)
HSVhsv(261, 85%, 49%)
CMYKcmyk(55.6%, 84.7%, 0%, 51.4%)
CIE-LABlab(18.94, 42.15, -52.12)
CIE-LCHlch(18.94, 67.03, 308.96°)
OKLaboklab(32.06% 0.0534 -0.1499)
OKLCHoklch(32.06% 0.159 289.6)
XYZxyz(5.4455, 2.7329, 19.3055)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37137C #587C13
analogous
#13247C #37137C #6B137C
triadic
#37137C #7C3713 #137C37
tetradic
#37137C #7C1324 #587C13 #137C6B
square
#37137C #7C1324 #587C13 #137C6B
split-complementary
#37137C #7C6B13 #247C13
monochromatic
#0C041B #1F0B47 #37137C #4F1BB1 #682BDF

Accessibility & contrast

On white

13.58
#37137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#37137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37137C
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37137C#FFFFFF#000000##FFFFFF
##37137C1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#1C3349
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #37137c;
/* rgb */ color: rgb(55, 19, 124);
/* oklch */ color: oklch(32.1% 0.159 289.6);
Tailwind
colors: {
  custom: {
    50: '#7757a3',
    500: '#37137c',
    950: '#000000',
  },
}
SCSS
$custom: #37137c;
$custom-light: #7757a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37137c",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 260.571,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.15911,
    "h": 289.6
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#37137C
secondary
#88B239
accent
#F038B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #37137C

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

Preview Lab → · Contrast checker → · Palette generator →

#37137C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva