#36198D#36198D

#36198D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.174 H 284.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#36198D
RGBrgb(54, 25, 141)
HSLhsl(255, 70%, 33%)
HSVhsv(255, 82%, 55%)
CMYKcmyk(61.7%, 82.3%, 0%, 44.7%)
CIE-LABlab(21.59, 44.27, -58.47)
CIE-LCHlch(21.59, 73.34, 307.13°)
OKLaboklab(34.41% 0.0419 -0.1686)
OKLCHoklch(34.41% 0.174 284)
XYZxyz(6.6752, 3.4022, 25.4991)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36198D #708D19
analogous
#19368D #36198D #70198D
triadic
#36198D #8D3619 #198D36
tetradic
#36198D #8D1936 #708D19 #198D70
square
#36198D #8D1936 #708D19 #198D70
split-complementary
#36198D #8D7019 #368D19
monochromatic
#0E0725 #221059 #36198D #4A22C1 #6943DE

Accessibility & contrast

On white

12.50
#36198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#36198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36198D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36198D#FFFFFF#000000##FFFFFF
##36198D1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36198d;
/* rgb */ color: rgb(54, 25, 141);
/* oklch */ color: oklch(34.4% 0.174 284.0);
Tailwind
colors: {
  custom: {
    50: '#795bb0',
    500: '#36198d',
    950: '#000000',
  },
}
SCSS
$custom: #36198d;
$custom-light: #795bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#36198d",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 255,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34411,
    "c": 0.1737,
    "h": 284
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#36198D
secondary
#A0BF43
accent
#ED3BC0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #36198D

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

Preview Lab → · Contrast checker → · Palette generator →

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