#36156D#36156D

#36156D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.140 H 293.3°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#36156D
RGBrgb(54, 21, 109)
HSLhsl(263, 68%, 25%)
HSVhsv(263, 81%, 43%)
CMYKcmyk(50.5%, 80.7%, 0%, 57.3%)
CIE-LABlab(17.57, 36.82, -44.70)
CIE-LCHlch(17.57, 57.91, 309.48°)
OKLaboklab(30.61% 0.0553 -0.1283)
OKLCHoklch(30.61% 0.14 293.3)
XYZxyz(4.5490, 2.4246, 14.6933)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36156D #4C6D15
analogous
#15206D #36156D #62156D
triadic
#36156D #6D3615 #156D36
tetradic
#36156D #6D1520 #4C6D15 #156D62
square
#36156D #6D1520 #4C6D15 #156D62
split-complementary
#36156D #6D6215 #206D15
monochromatic
#0D051A #1D0B3A #36156D #4F1FA0 #6929D4

Accessibility & contrast

On white

14.14
#36156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#36156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36156D
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36156D#FFFFFF#000000##FFFFFF
##36156D1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#252D40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #36156d;
/* rgb */ color: rgb(54, 21, 109);
/* oklch */ color: oklch(30.6% 0.140 293.3);
Tailwind
colors: {
  custom: {
    50: '#745798',
    500: '#36156d',
    950: '#000000',
  },
}
SCSS
$custom: #36156d;
$custom-light: #745798;
$custom-dark: #000000;
JSON
{
  "hex": "#36156d",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 262.5,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3061,
    "c": 0.13969,
    "h": 293.3
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#36156D
secondary
#7CA33A
accent
#EB3DAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #36156D

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

Preview Lab → · Contrast checker → · Palette generator →

#36156D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva