#37186D#37186D

#37186D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.136 H 293.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#37186D
RGBrgb(55, 24, 109)
HSLhsl(262, 64%, 26%)
HSVhsv(262, 78%, 43%)
CMYKcmyk(49.5%, 78%, 0%, 57.3%)
CIE-LABlab(18.23, 35.48, -43.62)
CIE-LCHlch(18.23, 56.23, 309.12°)
OKLaboklab(31.1% 0.0543 -0.1251)
OKLCHoklch(31.1% 0.136 293.5)
XYZxyz(4.6617, 2.5695, 14.7154)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37186D #4E6D18
analogous
#18236D #37186D #61186D
triadic
#37186D #6D3718 #186D37
tetradic
#37186D #6D1823 #4E6D18 #186D61
square
#37186D #6D1823 #4E6D18 #186D61
split-complementary
#37186D #6D6118 #236D18
monochromatic
#0D0619 #1E0D3B #37186D #50239F #6A2ED1

Accessibility & contrast

On white

13.87
#37186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#37186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37186D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37186D#FFFFFF#000000##FFFFFF
##37186D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#272F41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37186d;
/* rgb */ color: rgb(55, 24, 109);
/* oklch */ color: oklch(31.1% 0.136 293.5);
Tailwind
colors: {
  custom: {
    50: '#745898',
    500: '#37186d',
    950: '#000000',
  },
}
SCSS
$custom: #37186d;
$custom-light: #745898;
$custom-dark: #000000;
JSON
{
  "hex": "#37186d",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 261.882,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31099,
    "c": 0.13635,
    "h": 293.5
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#37186D
secondary
#7EA33E
accent
#E741AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #37186D

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

Preview Lab → · Contrast checker → · Palette generator →

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