#36238C#36238C

#36238C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.163 H 282.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#36238C
RGBrgb(54, 35, 140)
HSLhsl(251, 60%, 34%)
HSVhsv(251, 75%, 55%)
CMYKcmyk(61.4%, 75%, 0%, 45.1%)
CIE-LABlab(23.27, 38.86, -55.08)
CIE-LCHlch(23.27, 67.41, 305.20°)
OKLaboklab(35.56% 0.0354 -0.1588)
OKLCHoklch(35.56% 0.163 282.6)
XYZxyz(6.8545, 3.8793, 25.1934)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36238C #798C23
analogous
#23458C #36238C #6B238C
triadic
#36238C #8C3623 #238C36
tetradic
#36238C #8C2345 #798C23 #238C6B
square
#36238C #8C2345 #798C23 #238C6B
split-complementary
#36238C #8C6B23 #458C23
monochromatic
#100B2A #23175B #36238C #492FBD #6C55D4

Accessibility & contrast

On white

11.82
#36238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#36238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36238C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36238C#FFFFFF#000000##FFFFFF
##36238C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #36238c;
/* rgb */ color: rgb(54, 35, 140);
/* oklch */ color: oklch(35.6% 0.163 282.6);
Tailwind
colors: {
  custom: {
    50: '#7860af',
    500: '#36238c',
    950: '#000000',
  },
}
SCSS
$custom: #36238c;
$custom-light: #7860af;
$custom-dark: #000000;
JSON
{
  "hex": "#36238c",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 250.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.16267,
    "h": 282.6
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#36238C
secondary
#A6B852
accent
#E345C6
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #36238C

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

Preview Lab → · Contrast checker → · Palette generator →

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