#37156F#37156F

#37156F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.142 H 293.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#37156F
RGBrgb(55, 21, 111)
HSLhsl(263, 68%, 26%)
HSVhsv(263, 81%, 44%)
CMYKcmyk(50.5%, 81.1%, 0%, 56.5%)
CIE-LABlab(17.90, 37.56, -45.46)
CIE-LCHlch(17.90, 58.97, 309.56°)
OKLaboklab(30.93% 0.0564 -0.1304)
OKLCHoklch(30.93% 0.142 293.4)
XYZxyz(4.7122, 2.4961, 15.2694)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37156F #4D6F15
analogous
#15206F #37156F #64156F
triadic
#37156F #6F3715 #156F37
tetradic
#37156F #6F1520 #4D6F15 #156F64
square
#37156F #6F1520 #4D6F15 #156F64
split-complementary
#37156F #6F6415 #206F15
monochromatic
#0D051A #1D0B3C #37156F #501FA2 #6A28D6

Accessibility & contrast

On white

14.01
#37156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#37156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37156F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37156F#FFFFFF#000000##FFFFFF
##37156F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#262E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37156f;
/* rgb */ color: rgb(55, 21, 111);
/* oklch */ color: oklch(30.9% 0.142 293.4);
Tailwind
colors: {
  custom: {
    50: '#755799',
    500: '#37156f',
    950: '#000000',
  },
}
SCSS
$custom: #37156f;
$custom-light: #755799;
$custom-dark: #000000;
JSON
{
  "hex": "#37156f",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 262.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30928,
    "c": 0.14211,
    "h": 293.4
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#37156F
secondary
#7DA53A
accent
#EB3DA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #37156F

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

Preview Lab → · Contrast checker → · Palette generator →

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