#36247D#36247D

#36247D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.142 H 285.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#36247D
RGBrgb(54, 36, 125)
HSLhsl(252, 55%, 32%)
HSVhsv(252, 71%, 49%)
CMYKcmyk(56.8%, 71.2%, 0%, 51%)
CIE-LABlab(22.04, 33.48, -47.67)
CIE-LCHlch(22.04, 58.25, 305.08°)
OKLaboklab(34.24% 0.0377 -0.137)
OKLCHoklch(34.24% 0.142 285.4)
XYZxyz(5.8528, 3.5264, 19.7703)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36247D #6B7D24
analogous
#243F7D #36247D #63247D
triadic
#36247D #7D3624 #247D36
tetradic
#36247D #7D243F #6B7D24 #247D63
square
#36247D #7D243F #6B7D24 #247D63
split-complementary
#36247D #7D6324 #3F7D24
monochromatic
#0D091E #21164D #36247D #4B32AD #684FCC

Accessibility & contrast

On white

12.31
#36247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#36247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36247D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36247D#FFFFFF#000000##FFFFFF
##36247D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#173B4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #36247d;
/* rgb */ color: rgb(54, 36, 125);
/* oklch */ color: oklch(34.2% 0.142 285.4);
Tailwind
colors: {
  custom: {
    50: '#7560a3',
    500: '#36247d',
    950: '#000000',
  },
}
SCSS
$custom: #36247d;
$custom-light: #7560a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36247d",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 252.135,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34242,
    "c": 0.14214,
    "h": 285.4
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#36247D
secondary
#9CAF4D
accent
#DF49C0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36247D

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

Preview Lab → · Contrast checker → · Palette generator →

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