#36198C#36198C

#36198C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.173 H 284.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#36198C
RGBrgb(54, 25, 140)
HSLhsl(255, 70%, 32%)
HSVhsv(255, 82%, 55%)
CMYKcmyk(61.4%, 82.1%, 0%, 45.1%)
CIE-LABlab(21.48, 43.98, -58.03)
CIE-LCHlch(21.48, 72.81, 307.16°)
OKLaboklab(34.3% 0.0423 -0.1673)
OKLCHoklch(34.3% 0.173 284.2)
XYZxyz(6.6011, 3.3725, 25.1090)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36198C #6F8C19
analogous
#19368C #36198C #6F198C
triadic
#36198C #8C3619 #198C36
tetradic
#36198C #8C1936 #6F8C19 #198C6F
square
#36198C #8C1936 #6F8C19 #198C6F
split-complementary
#36198C #8C6F19 #368C19
monochromatic
#0E0624 #221058 #36198C #4A22C0 #6942DD

Accessibility & contrast

On white

12.54
#36198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#36198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36198C
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36198C#FFFFFF#000000##FFFFFF
##36198C1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36198c;
/* rgb */ color: rgb(54, 25, 140);
/* oklch */ color: oklch(34.3% 0.173 284.2);
Tailwind
colors: {
  custom: {
    50: '#795baf',
    500: '#36198c',
    950: '#000000',
  },
}
SCSS
$custom: #36198c;
$custom-light: #795baf;
$custom-dark: #000000;
JSON
{
  "hex": "#36198c",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 255.13,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34303,
    "c": 0.17253,
    "h": 284.2
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#36198C
secondary
#9FBE43
accent
#ED3BC0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #36198C

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

Preview Lab → · Contrast checker → · Palette generator →

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