#37185F#37185F

#37185F is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.119 H 298.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#37185F
RGBrgb(55, 24, 95)
HSLhsl(266, 60%, 23%)
HSVhsv(266, 75%, 37%)
CMYKcmyk(42.1%, 74.7%, 0%, 62.7%)
CIE-LABlab(16.95, 31.42, -36.50)
CIE-LCHlch(16.95, 48.16, 310.72°)
OKLaboklab(29.79% 0.0575 -0.1042)
OKLCHoklch(29.79% 0.119 298.9)
XYZxyz(3.9672, 2.2917, 11.0576)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37185F #405F18
analogous
#181C5F #37185F #5A185F
triadic
#37185F #5F3718 #185F37
tetradic
#37185F #5F181C #405F18 #185F5A
square
#37185F #5F181C #405F18 #185F5A
split-complementary
#37185F #5F5A18 #1C5F18
monochromatic
#0E0618 #1B0C2E #37185F #532490 #7031C1

Accessibility & contrast

On white

14.40
#37185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#37185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37185F
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37185F#FFFFFF#000000##FFFFFF
##37185F1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#2E2939
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #37185f;
/* rgb */ color: rgb(55, 24, 95);
/* oklch */ color: oklch(29.8% 0.119 298.9);
Tailwind
colors: {
  custom: {
    50: '#72588d',
    500: '#37185f',
    950: '#000000',
  },
}
SCSS
$custom: #37185f;
$custom-light: #72588d;
$custom-dark: #000000;
JSON
{
  "hex": "#37185f",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 266.197,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29794,
    "c": 0.11901,
    "h": 298.9
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#37185F
secondary
#6F953D
accent
#E3459E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37185F

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

Preview Lab → · Contrast checker → · Palette generator →

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