#37185D#37185D

#37185D is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.117 H 299.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#37185D
RGBrgb(55, 24, 93)
HSLhsl(267, 59%, 23%)
HSVhsv(267, 74%, 36%)
CMYKcmyk(40.9%, 74.2%, 0%, 63.5%)
CIE-LABlab(16.78, 30.85, -35.45)
CIE-LCHlch(16.78, 46.99, 311.03°)
OKLaboklab(29.62% 0.0579 -0.1011)
OKLCHoklch(29.62% 0.117 299.8)
XYZxyz(3.8775, 2.2558, 10.5849)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37185D #3E5D18
analogous
#181B5D #37185D #59185D
triadic
#37185D #5D3718 #185D37
tetradic
#37185D #5D181B #3E5D18 #185D59
square
#37185D #5D181B #3E5D18 #185D59
split-complementary
#37185D #5D5918 #1B5D18
monochromatic
#0E0618 #1A0B2C #37185D #54258E #7131BE

Accessibility & contrast

On white

14.47
#37185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#37185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37185D
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37185D#FFFFFF#000000##FFFFFF
##37185D1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#2E2838
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37185d;
/* rgb */ color: rgb(55, 24, 93);
/* oklch */ color: oklch(29.6% 0.117 299.8);
Tailwind
colors: {
  custom: {
    50: '#72578b',
    500: '#37185d',
    950: '#000000',
  },
}
SCSS
$custom: #37185d;
$custom-light: #72578b;
$custom-dark: #000000;
JSON
{
  "hex": "#37185d",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 266.957,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29617,
    "c": 0.1165,
    "h": 299.8
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#37185D
secondary
#6D933D
accent
#E2469C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37185D

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

Preview Lab → · Contrast checker → · Palette generator →

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