#37156E#37156E

#37156E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.141 H 293.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#37156E
RGBrgb(55, 21, 110)
HSLhsl(263, 68%, 26%)
HSVhsv(263, 81%, 43%)
CMYKcmyk(50%, 80.9%, 0%, 56.9%)
CIE-LABlab(17.80, 37.27, -44.97)
CIE-LCHlch(17.80, 58.41, 309.65°)
OKLaboklab(30.83% 0.0567 -0.129)
OKLCHoklch(30.83% 0.141 293.7)
XYZxyz(4.6574, 2.4742, 14.9810)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37156E #4C6E15
analogous
#15206E #37156E #63156E
triadic
#37156E #6E3715 #156E37
tetradic
#37156E #6E1520 #4C6E15 #156E63
square
#37156E #6E1520 #4C6E15 #156E63
split-complementary
#37156E #6E6315 #206E15
monochromatic
#0D051A #1D0B3B #37156E #511FA1 #6A29D5

Accessibility & contrast

On white

14.05
#37156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37156E
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37156E#FFFFFF#000000##FFFFFF
##37156E1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#262E41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37156e;
/* rgb */ color: rgb(55, 21, 110);
/* oklch */ color: oklch(30.8% 0.141 293.7);
Tailwind
colors: {
  custom: {
    50: '#745798',
    500: '#37156e',
    950: '#000000',
  },
}
SCSS
$custom: #37156e;
$custom-light: #745798;
$custom-dark: #000000;
JSON
{
  "hex": "#37156e",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 262.921,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30828,
    "c": 0.14093,
    "h": 293.7
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#37156E
secondary
#7CA43A
accent
#EB3DA8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #37156E

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

Preview Lab → · Contrast checker → · Palette generator →

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