#36198F#36198F

#36198F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.176 H 283.6°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#36198F
RGBrgb(54, 25, 143)
HSLhsl(255, 70%, 33%)
HSVhsv(255, 83%, 56%)
CMYKcmyk(62.2%, 82.5%, 0%, 43.9%)
CIE-LABlab(21.81, 44.86, -59.35)
CIE-LCHlch(21.81, 74.40, 307.08°)
OKLaboklab(34.63% 0.0413 -0.1711)
OKLCHoklch(34.63% 0.176 283.6)
XYZxyz(6.8253, 3.4622, 26.2899)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36198F #728F19
analogous
#19378F #36198F #71198F
triadic
#36198F #8F3619 #198F36
tetradic
#36198F #8F1937 #728F19 #198F71
square
#36198F #8F1937 #728F19 #198F71
split-complementary
#36198F #8F7119 #378F19
monochromatic
#0F0727 #22105B #36198F #4A22C3 #6A44DE

Accessibility & contrast

On white

12.41
#36198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#36198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36198F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36198F#FFFFFF#000000##FFFFFF
##36198F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36198f;
/* rgb */ color: rgb(54, 25, 143);
/* oklch */ color: oklch(34.6% 0.176 283.6);
Tailwind
colors: {
  custom: {
    50: '#795bb1',
    500: '#36198f',
    950: '#000000',
  },
}
SCSS
$custom: #36198f;
$custom-light: #795bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#36198f",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 254.746,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34628,
    "c": 0.17604,
    "h": 283.6
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#36198F
secondary
#A1BF44
accent
#ED3BC1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #36198F

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

Preview Lab → · Contrast checker → · Palette generator →

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