#36186B#36186B

#36186B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.134 H 293.4°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#36186B
RGBrgb(54, 24, 107)
HSLhsl(262, 63%, 26%)
HSVhsv(262, 78%, 42%)
CMYKcmyk(49.5%, 77.6%, 0%, 58%)
CIE-LABlab(17.91, 34.72, -42.84)
CIE-LCHlch(17.91, 55.14, 309.02°)
OKLaboklab(30.79% 0.0532 -0.1228)
OKLCHoklch(30.79% 0.134 293.4)
XYZxyz(4.5011, 2.4989, 14.1523)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36186B #4D6B18
analogous
#18236B #36186B #5F186B
triadic
#36186B #6B3618 #186B36
tetradic
#36186B #6B1823 #4D6B18 #186B5F
square
#36186B #6B1823 #4D6B18 #186B5F
split-complementary
#36186B #6B5F18 #236B18
monochromatic
#0D0619 #1D0D39 #36186B #4F239D #682ECF

Accessibility & contrast

On white

14.00
#36186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#36186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36186B
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36186B#FFFFFF#000000##FFFFFF
##36186B1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#262E40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #36186b;
/* rgb */ color: rgb(54, 24, 107);
/* oklch */ color: oklch(30.8% 0.134 293.4);
Tailwind
colors: {
  custom: {
    50: '#735896',
    500: '#36186b',
    950: '#000000',
  },
}
SCSS
$custom: #36186b;
$custom-light: #735896;
$custom-dark: #000000;
JSON
{
  "hex": "#36186b",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 261.687,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30789,
    "c": 0.13384,
    "h": 293.4
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#36186B
secondary
#7DA13E
accent
#E641AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #36186B

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

Preview Lab → · Contrast checker → · Palette generator →

#36186B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva