#36156F#36156F

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

Color values

HEX#36156F
RGBrgb(54, 21, 111)
HSLhsl(262, 68%, 26%)
HSVhsv(262, 81%, 44%)
CMYKcmyk(51.4%, 81.1%, 0%, 56.5%)
CIE-LABlab(17.77, 37.40, -45.67)
CIE-LCHlch(17.77, 59.03, 309.31°)
OKLaboklab(30.81% 0.0547 -0.1311)
OKLCHoklch(30.81% 0.142 292.7)
XYZxyz(4.6579, 2.4681, 15.2668)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36156F #4E6F15
analogous
#15216F #36156F #63156F
triadic
#36156F #6F3615 #156F36
tetradic
#36156F #6F1521 #4E6F15 #156F63
square
#36156F #6F1521 #4E6F15 #156F63
split-complementary
#36156F #6F6315 #216F15
monochromatic
#0D051A #1D0B3C #36156F #4F1FA2 #6828D6

Accessibility & contrast

On white

14.06
#36156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36156F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36156F#FFFFFF#000000##FFFFFF
##36156F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36156f;
/* rgb */ color: rgb(54, 21, 111);
/* oklch */ color: oklch(30.8% 0.142 292.7);
Tailwind
colors: {
  custom: {
    50: '#745799',
    500: '#36156f',
    950: '#000000',
  },
}
SCSS
$custom: #36156f;
$custom-light: #745799;
$custom-dark: #000000;
JSON
{
  "hex": "#36156f",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 262,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30811,
    "c": 0.14207,
    "h": 292.7
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#36156F
secondary
#7EA53A
accent
#EB3DAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #36156F

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

Preview Lab → · Contrast checker → · Palette generator →

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