#36186A#36186A

#36186A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.133 H 293.8°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#36186A
RGBrgb(54, 24, 106)
HSLhsl(262, 63%, 25%)
HSVhsv(262, 77%, 42%)
CMYKcmyk(49.1%, 77.4%, 0%, 58.4%)
CIE-LABlab(17.82, 34.42, -42.34)
CIE-LCHlch(17.82, 54.57, 309.11°)
OKLaboklab(30.69% 0.0534 -0.1214)
OKLCHoklch(30.69% 0.133 293.8)
XYZxyz(4.4488, 2.4780, 13.8768)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36186A #4C6A18
analogous
#18236A #36186A #5F186A
triadic
#36186A #6A3618 #186A36
tetradic
#36186A #6A1823 #4C6A18 #186A5F
square
#36186A #6A1823 #4C6A18 #186A5F
split-complementary
#36186A #6A5F18 #236A18
monochromatic
#0D0619 #1D0D38 #36186A #4F239C #692FCE

Accessibility & contrast

On white

14.04
#36186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36186A
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36186A#FFFFFF#000000##FFFFFF
##36186A1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#272E3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #36186a;
/* rgb */ color: rgb(54, 24, 106);
/* oklch */ color: oklch(30.7% 0.133 293.8);
Tailwind
colors: {
  custom: {
    50: '#735895',
    500: '#36186a',
    950: '#000000',
  },
}
SCSS
$custom: #36186a;
$custom-light: #735895;
$custom-dark: #000000;
JSON
{
  "hex": "#36186a",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 261.951,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30693,
    "c": 0.1326,
    "h": 293.8
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#36186A
secondary
#7CA03E
accent
#E642AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #36186A

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

Preview Lab → · Contrast checker → · Palette generator →

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