#37185B#37185B

#37185B is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.114 H 300.7°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#37185B
RGBrgb(55, 24, 91)
HSLhsl(268, 58%, 23%)
HSVhsv(268, 74%, 36%)
CMYKcmyk(39.6%, 73.6%, 0%, 64.3%)
CIE-LABlab(16.61, 30.28, -34.39)
CIE-LCHlch(16.61, 45.82, 311.36°)
OKLaboklab(29.44% 0.0583 -0.098)
OKLCHoklch(29.44% 0.114 300.7)
XYZxyz(3.7900, 2.2208, 10.1245)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37185B #3C5B18
analogous
#181B5B #37185B #58185B
triadic
#37185B #5B3718 #185B37
tetradic
#37185B #5B181B #3C5B18 #185B58
square
#37185B #5B181B #3C5B18 #185B58
split-complementary
#37185B #5B5818 #1B5B18
monochromatic
#0F0618 #1A0B2B #37185B #54258B #7232BC

Accessibility & contrast

On white

14.54
#37185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#37185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37185B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37185B#FFFFFF#000000##FFFFFF
##37185B1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#2F2837
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37185b;
/* rgb */ color: rgb(55, 24, 91);
/* oklch */ color: oklch(29.4% 0.114 300.7);
Tailwind
colors: {
  custom: {
    50: '#71578a',
    500: '#37185b',
    950: '#000000',
  },
}
SCSS
$custom: #37185b;
$custom-light: #71578a;
$custom-dark: #000000;
JSON
{
  "hex": "#37185b",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 267.761,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29442,
    "c": 0.11398,
    "h": 300.7
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#37185B
secondary
#6B923D
accent
#E1469A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37185B

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

Preview Lab → · Contrast checker → · Palette generator →

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