#37186B#37186B

#37186B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.134 H 294.2°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#37186B
RGBrgb(55, 24, 107)
HSLhsl(262, 63%, 26%)
HSVhsv(262, 78%, 42%)
CMYKcmyk(48.6%, 77.6%, 0%, 58%)
CIE-LABlab(18.04, 34.90, -42.63)
CIE-LCHlch(18.04, 55.09, 309.31°)
OKLaboklab(30.91% 0.0548 -0.1222)
OKLCHoklch(30.91% 0.134 294.2)
XYZxyz(4.5553, 2.5269, 14.1548)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37186B #4C6B18
analogous
#18226B #37186B #60186B
triadic
#37186B #6B3718 #186B37
tetradic
#37186B #6B1822 #4C6B18 #186B60
square
#37186B #6B1822 #4C6B18 #186B60
split-complementary
#37186B #6B6018 #226B18
monochromatic
#0D0619 #1D0D39 #37186B #51239D #6A2ECF

Accessibility & contrast

On white

13.95
#37186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37186B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37186B#FFFFFF#000000##FFFFFF
##37186B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#282E40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37186b;
/* rgb */ color: rgb(55, 24, 107);
/* oklch */ color: oklch(30.9% 0.134 294.2);
Tailwind
colors: {
  custom: {
    50: '#745896',
    500: '#37186b',
    950: '#000000',
  },
}
SCSS
$custom: #37186b;
$custom-light: #745896;
$custom-dark: #000000;
JSON
{
  "hex": "#37186b",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 262.41,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30906,
    "c": 0.1339,
    "h": 294.2
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#37186B
secondary
#7CA13E
accent
#E641A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37186B

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

Preview Lab → · Contrast checker → · Palette generator →

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