#36248E#36248E

#36248E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.164 H 282.0°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#36248E
RGBrgb(54, 36, 142)
HSLhsl(250, 60%, 35%)
HSVhsv(250, 75%, 56%)
CMYKcmyk(62%, 74.6%, 0%, 44.3%)
CIE-LABlab(23.67, 38.94, -55.67)
CIE-LCHlch(23.67, 67.94, 304.97°)
OKLaboklab(35.9% 0.0342 -0.1605)
OKLCHoklch(35.9% 0.164 282)
XYZxyz(7.0332, 3.9985, 25.9871)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36248E #7C8E24
analogous
#24478E #36248E #6B248E
triadic
#36248E #8E3624 #248E36
tetradic
#36248E #8E2447 #7C8E24 #248E6B
square
#36248E #8E2447 #7C8E24 #248E6B
split-complementary
#36248E #8E6B24 #478E24
monochromatic
#110B2C #23185D #36248E #4930BF #6D58D5

Accessibility & contrast

On white

11.67
#36248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#36248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36248E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36248E#FFFFFF#000000##FFFFFF
##36248E1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #36248e;
/* rgb */ color: rgb(54, 36, 142);
/* oklch */ color: oklch(35.9% 0.164 282.0);
Tailwind
colors: {
  custom: {
    50: '#7861b0',
    500: '#36248e',
    950: '#000000',
  },
}
SCSS
$custom: #36248e;
$custom-light: #7861b0;
$custom-dark: #000000;
JSON
{
  "hex": "#36248e",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 250.189,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35899,
    "c": 0.1641,
    "h": 282
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#36248E
secondary
#A8B955
accent
#E345C8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #36248E

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

Preview Lab → · Contrast checker → · Palette generator →

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