#37186F#37186F

#37186F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.139 H 292.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#37186F
RGBrgb(55, 24, 111)
HSLhsl(261, 64%, 26%)
HSVhsv(261, 78%, 44%)
CMYKcmyk(50.5%, 78.4%, 0%, 56.5%)
CIE-LABlab(18.42, 36.07, -44.60)
CIE-LCHlch(18.42, 57.36, 308.96°)
OKLaboklab(31.29% 0.0537 -0.128)
OKLCHoklch(31.29% 0.139 292.8)
XYZxyz(4.7706, 2.6130, 15.2888)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37186F #506F18
analogous
#18256F #37186F #63186F
triadic
#37186F #6F3718 #186F37
tetradic
#37186F #6F1825 #506F18 #186F63
square
#37186F #6F1825 #506F18 #186F63
split-complementary
#37186F #6F6318 #256F18
monochromatic
#0C0519 #1E0D3D #37186F #5023A1 #692FD2

Accessibility & contrast

On white

13.79
#37186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#37186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37186F
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37186F#FFFFFF#000000##FFFFFF
##37186F1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#252F42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #37186f;
/* rgb */ color: rgb(55, 24, 111);
/* oklch */ color: oklch(31.3% 0.139 292.8);
Tailwind
colors: {
  custom: {
    50: '#745899',
    500: '#37186f',
    950: '#000000',
  },
}
SCSS
$custom: #37186f;
$custom-light: #745899;
$custom-dark: #000000;
JSON
{
  "hex": "#37186f",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 261.379,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31293,
    "c": 0.13879,
    "h": 292.8
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#37186F
secondary
#80A53E
accent
#E740AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #37186F

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

Preview Lab → · Contrast checker → · Palette generator →

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