#36247E#36247E

#36247E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.143 H 285.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#36247E
RGBrgb(54, 36, 126)
HSLhsl(252, 56%, 32%)
HSVhsv(252, 71%, 49%)
CMYKcmyk(57.1%, 71.4%, 0%, 50.6%)
CIE-LABlab(22.13, 33.80, -48.15)
CIE-LCHlch(22.13, 58.83, 305.07°)
OKLaboklab(34.34% 0.0375 -0.1385)
OKLCHoklch(34.34% 0.143 285.2)
XYZxyz(5.9170, 3.5520, 20.1084)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36247E #6C7E24
analogous
#243F7E #36247E #63247E
triadic
#36247E #7E3624 #247E36
tetradic
#36247E #7E243F #6C7E24 #247E63
square
#36247E #7E243F #6C7E24 #247E63
split-complementary
#36247E #7E6324 #3F7E24
monochromatic
#0D091F #22164E #36247E #4A32AE #6950CD

Accessibility & contrast

On white

12.28
#36247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36247E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36247E#FFFFFF#000000##FFFFFF
##36247E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#153B4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #36247e;
/* rgb */ color: rgb(54, 36, 126);
/* oklch */ color: oklch(34.3% 0.143 285.2);
Tailwind
colors: {
  custom: {
    50: '#7560a4',
    500: '#36247e',
    950: '#000000',
  },
}
SCSS
$custom: #36247e;
$custom-light: #7560a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36247e",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 252,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34336,
    "c": 0.14347,
    "h": 285.2
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#36247E
secondary
#9DB04E
accent
#DF49C1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36247E

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

Preview Lab → · Contrast checker → · Palette generator →

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