#36238E#36238E

#36238E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.165 H 282.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#36238E
RGBrgb(54, 35, 142)
HSLhsl(251, 60%, 35%)
HSVhsv(251, 75%, 56%)
CMYKcmyk(62%, 75.4%, 0%, 44.3%)
CIE-LABlab(23.47, 39.50, -56.00)
CIE-LCHlch(23.47, 68.52, 305.20°)
OKLaboklab(35.76% 0.035 -0.1614)
OKLCHoklch(35.76% 0.165 282.2)
XYZxyz(7.0033, 3.9388, 25.9772)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36238E #7B8E23
analogous
#23468E #36238E #6C238E
triadic
#36238E #8E3623 #238E36
tetradic
#36238E #8E2346 #7B8E23 #238E6C
square
#36238E #8E2346 #7B8E23 #238E6C
split-complementary
#36238E #8E6C23 #468E23
monochromatic
#110B2C #23175D #36238E #492FBF #6D56D5

Accessibility & contrast

On white

11.75
#36238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#36238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36238E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36238E#FFFFFF#000000##FFFFFF
##36238E1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #36238e;
/* rgb */ color: rgb(54, 35, 142);
/* oklch */ color: oklch(35.8% 0.165 282.2);
Tailwind
colors: {
  custom: {
    50: '#7860b0',
    500: '#36238e',
    950: '#000000',
  },
}
SCSS
$custom: #36238e;
$custom-light: #7860b0;
$custom-dark: #000000;
JSON
{
  "hex": "#36238e",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 250.654,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35758,
    "c": 0.16517,
    "h": 282.2
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#36238E
secondary
#A7B953
accent
#E444C7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #36238E

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

Preview Lab → · Contrast checker → · Palette generator →

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