#37156C#37156C

#37156C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.139 H 294.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#37156C
RGBrgb(55, 21, 108)
HSLhsl(263, 67%, 25%)
HSVhsv(263, 81%, 42%)
CMYKcmyk(49.1%, 80.6%, 0%, 57.6%)
CIE-LABlab(17.60, 36.70, -43.99)
CIE-LCHlch(17.60, 57.29, 309.84°)
OKLaboklab(30.63% 0.0573 -0.1262)
OKLCHoklch(30.63% 0.139 294.4)
XYZxyz(4.5497, 2.4311, 14.4140)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37156C #4A6C15
analogous
#151F6C #37156C #62156C
triadic
#37156C #6C3715 #156C37
tetradic
#37156C #6C151F #4A6C15 #156C62
square
#37156C #6C151F #4A6C15 #156C62
split-complementary
#37156C #6C6215 #1F6C15
monochromatic
#0D051A #1D0B39 #37156C #511F9F #6B29D2

Accessibility & contrast

On white

14.13
#37156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#37156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37156C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37156C#FFFFFF#000000##FFFFFF
##37156C1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#272D40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #37156c;
/* rgb */ color: rgb(55, 21, 108);
/* oklch */ color: oklch(30.6% 0.139 294.4);
Tailwind
colors: {
  custom: {
    50: '#745797',
    500: '#37156c',
    950: '#000000',
  },
}
SCSS
$custom: #37156c;
$custom-light: #745797;
$custom-dark: #000000;
JSON
{
  "hex": "#37156c",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 263.448,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3063,
    "c": 0.13855,
    "h": 294.4
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#37156C
secondary
#7AA33A
accent
#EA3DA7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37156C

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

Preview Lab → · Contrast checker → · Palette generator →

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