#37186C#37186C

#37186C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.135 H 293.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#37186C
RGBrgb(55, 24, 108)
HSLhsl(262, 64%, 26%)
HSVhsv(262, 78%, 42%)
CMYKcmyk(49.1%, 77.8%, 0%, 57.6%)
CIE-LABlab(18.13, 35.19, -43.12)
CIE-LCHlch(18.13, 55.66, 309.21°)
OKLaboklab(31% 0.0545 -0.1236)
OKLCHoklch(31% 0.135 293.8)
XYZxyz(4.6082, 2.5481, 14.4335)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37186C #4D6C18
analogous
#18236C #37186C #61186C
triadic
#37186C #6C3718 #186C37
tetradic
#37186C #6C1823 #4D6C18 #186C61
square
#37186C #6C1823 #4D6C18 #186C61
split-complementary
#37186C #6C6118 #236C18
monochromatic
#0D0619 #1D0D3A #37186C #50239E #6A2ED0

Accessibility & contrast

On white

13.91
#37186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37186C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37186C#FFFFFF#000000##FFFFFF
##37186C1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#272E41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37186c;
/* rgb */ color: rgb(55, 24, 108);
/* oklch */ color: oklch(31.0% 0.135 293.8);
Tailwind
colors: {
  custom: {
    50: '#745897',
    500: '#37186c',
    950: '#000000',
  },
}
SCSS
$custom: #37186c;
$custom-light: #745897;
$custom-dark: #000000;
JSON
{
  "hex": "#37186c",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 262.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31002,
    "c": 0.13513,
    "h": 293.8
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #37186C

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

Preview Lab → · Contrast checker → · Palette generator →

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