#36247C#36247C

#36247C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.141 H 285.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#36247C
RGBrgb(54, 36, 124)
HSLhsl(252, 55%, 31%)
HSVhsv(252, 71%, 49%)
CMYKcmyk(56.5%, 71%, 0%, 51.4%)
CIE-LABlab(21.95, 33.16, -47.18)
CIE-LCHlch(21.95, 57.67, 305.10°)
OKLaboklab(34.15% 0.0379 -0.1356)
OKLCHoklch(34.15% 0.141 285.6)
XYZxyz(5.7892, 3.5009, 19.4356)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36247C #6A7C24
analogous
#243E7C #36247C #62247C
triadic
#36247C #7C3624 #247C36
tetradic
#36247C #7C243E #6A7C24 #247C62
square
#36247C #7C243E #6A7C24 #247C62
split-complementary
#36247C #7C6224 #3E7C24
monochromatic
#0D081D #21164D #36247C #4B32AB #684FCC

Accessibility & contrast

On white

12.35
#36247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#36247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36247C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36247C#FFFFFF#000000##FFFFFF
##36247C1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#183B4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #36247c;
/* rgb */ color: rgb(54, 36, 124);
/* oklch */ color: oklch(34.1% 0.141 285.6);
Tailwind
colors: {
  custom: {
    50: '#7560a3',
    500: '#36247c',
    950: '#000000',
  },
}
SCSS
$custom: #36247c;
$custom-light: #7560a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36247c",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 252.273,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34148,
    "c": 0.14082,
    "h": 285.6
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#36247C
secondary
#9BAE4D
accent
#DE49C0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36247C

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

Preview Lab → · Contrast checker → · Palette generator →

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