#37186A#37186A

#37186A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.133 H 294.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#37186A
RGBrgb(55, 24, 106)
HSLhsl(263, 63%, 25%)
HSVhsv(263, 77%, 42%)
CMYKcmyk(48.1%, 77.4%, 0%, 58.4%)
CIE-LABlab(17.95, 34.60, -42.13)
CIE-LCHlch(17.95, 54.52, 309.40°)
OKLaboklab(30.81% 0.0551 -0.1207)
OKLCHoklch(30.81% 0.133 294.5)
XYZxyz(4.5030, 2.5060, 13.8793)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37186A #4B6A18
analogous
#18226A #37186A #60186A
triadic
#37186A #6A3718 #186A37
tetradic
#37186A #6A1822 #4B6A18 #186A60
square
#37186A #6A1822 #4B6A18 #186A60
split-complementary
#37186A #6A6018 #226A18
monochromatic
#0D0619 #1D0D38 #37186A #51239C #6B2FCE

Accessibility & contrast

On white

13.99
#37186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#37186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37186A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37186A#FFFFFF#000000##FFFFFF
##37186A1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#282E3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37186a;
/* rgb */ color: rgb(55, 24, 106);
/* oklch */ color: oklch(30.8% 0.133 294.5);
Tailwind
colors: {
  custom: {
    50: '#745895',
    500: '#37186a',
    950: '#000000',
  },
}
SCSS
$custom: #37186a;
$custom-light: #745895;
$custom-dark: #000000;
JSON
{
  "hex": "#37186a",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 262.683,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30811,
    "c": 0.13267,
    "h": 294.5
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#37186A
secondary
#7BA03E
accent
#E642A8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37186A

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

Preview Lab → · Contrast checker → · Palette generator →

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