#36198A#36198A

#36198A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.170 H 284.6°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#36198A
RGBrgb(54, 25, 138)
HSLhsl(255, 69%, 32%)
HSVhsv(255, 82%, 54%)
CMYKcmyk(60.9%, 81.9%, 0%, 45.9%)
CIE-LABlab(21.26, 43.39, -57.14)
CIE-LCHlch(21.26, 71.75, 307.21°)
OKLaboklab(34.09% 0.0429 -0.1647)
OKLCHoklch(34.09% 0.17 284.6)
XYZxyz(6.4550, 3.3141, 24.3394)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36198A #6D8A19
analogous
#19358A #36198A #6F198A
triadic
#36198A #8A3619 #198A36
tetradic
#36198A #8A1935 #6D8A19 #198A6F
square
#36198A #8A1935 #6D8A19 #198A6F
split-complementary
#36198A #8A6F19 #358A19
monochromatic
#0D0622 #221056 #36198A #4A22BE #6941DD

Accessibility & contrast

On white

12.63
#36198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#36198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36198A
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36198A#FFFFFF#000000##FFFFFF
##36198A1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36198a;
/* rgb */ color: rgb(54, 25, 138);
/* oklch */ color: oklch(34.1% 0.170 284.6);
Tailwind
colors: {
  custom: {
    50: '#795bad',
    500: '#36198a',
    950: '#000000',
  },
}
SCSS
$custom: #36198a;
$custom-light: #795bad;
$custom-dark: #000000;
JSON
{
  "hex": "#36198a",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 255.398,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34087,
    "c": 0.17017,
    "h": 284.6
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#36198A
secondary
#9DBD42
accent
#EC3CBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #36198A

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

Preview Lab → · Contrast checker → · Palette generator →

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