#36186F#36186F

#36186F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.139 H 292.1°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#36186F
RGBrgb(54, 24, 111)
HSLhsl(261, 64%, 26%)
HSVhsv(261, 78%, 44%)
CMYKcmyk(51.4%, 78.4%, 0%, 56.5%)
CIE-LABlab(18.30, 35.89, -44.81)
CIE-LCHlch(18.30, 57.41, 308.70°)
OKLaboklab(31.18% 0.0521 -0.1286)
OKLCHoklch(31.18% 0.139 292.1)
XYZxyz(4.7164, 2.5851, 15.2863)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36186F #516F18
analogous
#18266F #36186F #62186F
triadic
#36186F #6F3618 #186F36
tetradic
#36186F #6F1826 #516F18 #186F62
square
#36186F #6F1826 #516F18 #186F62
split-complementary
#36186F #6F6218 #266F18
monochromatic
#0C0519 #1E0D3D #36186F #4E23A1 #672FD2

Accessibility & contrast

On white

13.84
#36186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#36186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36186F
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36186F#FFFFFF#000000##FFFFFF
##36186F1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#233042
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #36186f;
/* rgb */ color: rgb(54, 24, 111);
/* oklch */ color: oklch(31.2% 0.139 292.1);
Tailwind
colors: {
  custom: {
    50: '#745899',
    500: '#36186f',
    950: '#000000',
  },
}
SCSS
$custom: #36186f;
$custom-light: #745899;
$custom-dark: #000000;
JSON
{
  "hex": "#36186f",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 260.69,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31178,
    "c": 0.13876,
    "h": 292.1
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#36186F
secondary
#81A53E
accent
#E740AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #36186F

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

Preview Lab → · Contrast checker → · Palette generator →

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