#36248A#36248A

#36248A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.159 H 282.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#36248A
RGBrgb(54, 36, 138)
HSLhsl(251, 59%, 34%)
HSVhsv(251, 74%, 54%)
CMYKcmyk(60.9%, 73.9%, 0%, 45.9%)
CIE-LABlab(23.27, 37.66, -53.83)
CIE-LCHlch(23.27, 65.69, 304.98°)
OKLaboklab(35.5% 0.0351 -0.1551)
OKLCHoklch(35.5% 0.159 282.8)
XYZxyz(6.7382, 3.8805, 24.4338)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36248A #788A24
analogous
#24458A #36248A #69248A
triadic
#36248A #8A3624 #248A36
tetradic
#36248A #8A2445 #788A24 #248A69
square
#36248A #8A2445 #788A24 #248A69
split-complementary
#36248A #8A6924 #458A24
monochromatic
#100B29 #231759 #36248A #4931BB #6C56D3

Accessibility & contrast

On white

11.82
#36248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#36248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36248A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36248A#FFFFFF#000000##FFFFFF
##36248A1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #36248a;
/* rgb */ color: rgb(54, 36, 138);
/* oklch */ color: oklch(35.5% 0.159 282.8);
Tailwind
colors: {
  custom: {
    50: '#7861ad',
    500: '#36248a',
    950: '#000000',
  },
}
SCSS
$custom: #36248a;
$custom-light: #7861ad;
$custom-dark: #000000;
JSON
{
  "hex": "#36248a",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 250.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35499,
    "c": 0.15901,
    "h": 282.8
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#36248A
secondary
#A5B753
accent
#E246C6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #36248A

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

Preview Lab → · Contrast checker → · Palette generator →

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