#36216F#36216F

#36216F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.127 H 289.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#36216F
RGBrgb(54, 33, 111)
HSLhsl(256, 54%, 28%)
HSVhsv(256, 70%, 44%)
CMYKcmyk(51.4%, 70.3%, 0%, 56.5%)
CIE-LABlab(20.12, 30.82, -41.83)
CIE-LCHlch(20.12, 51.96, 306.38°)
OKLaboklab(32.48% 0.0431 -0.1199)
OKLCHoklch(32.48% 0.127 289.8)
XYZxyz(4.9336, 3.0195, 15.3587)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36216F #5A6F21
analogous
#21336F #36216F #5D216F
triadic
#36216F #6F3621 #216F36
tetradic
#36216F #6F2133 #5A6F21 #216F5D
square
#36216F #6F2133 #5A6F21 #216F5D
split-complementary
#36216F #6F5D21 #336F21
monochromatic
#0B0718 #1F1340 #36216F #4D2F9E #6743C7

Accessibility & contrast

On white

13.09
#36216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#36216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36216F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36216F#FFFFFF#000000##FFFFFF
##36216F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#233445
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #36216f;
/* rgb */ color: rgb(54, 33, 111);
/* oklch */ color: oklch(32.5% 0.127 289.8);
Tailwind
colors: {
  custom: {
    50: '#735e99',
    500: '#36216f',
    950: '#000000',
  },
}
SCSS
$custom: #36216f;
$custom-light: #735e99;
$custom-dark: #000000;
JSON
{
  "hex": "#36216f",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 256.154,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32475,
    "c": 0.12742,
    "h": 289.8
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#36216F
secondary
#8BA349
accent
#DE4AB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #36216F

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

Preview Lab → · Contrast checker → · Palette generator →

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