#36248F#36248F

#36248F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.165 H 281.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#36248F
RGBrgb(54, 36, 143)
HSLhsl(250, 60%, 35%)
HSVhsv(250, 75%, 56%)
CMYKcmyk(62.2%, 74.8%, 0%, 43.9%)
CIE-LABlab(23.77, 39.26, -56.13)
CIE-LCHlch(23.77, 68.49, 304.97°)
OKLaboklab(36% 0.034 -0.1618)
OKLCHoklch(36% 0.165 281.9)
XYZxyz(7.1086, 4.0287, 26.3843)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36248F #7D8F24
analogous
#24488F #36248F #6B248F
triadic
#36248F #8F3624 #248F36
tetradic
#36248F #8F2448 #7D8F24 #248F6B
square
#36248F #8F2448 #7D8F24 #248F6B
split-complementary
#36248F #8F6B24 #488F24
monochromatic
#110B2D #24185E #36248F #4830C0 #6D58D5

Accessibility & contrast

On white

11.63
#36248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#36248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36248F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36248F#FFFFFF#000000##FFFFFF
##36248F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #36248f;
/* rgb */ color: rgb(54, 36, 143);
/* oklch */ color: oklch(36.0% 0.165 281.9);
Tailwind
colors: {
  custom: {
    50: '#7961b1',
    500: '#36248f',
    950: '#000000',
  },
}
SCSS
$custom: #36248f;
$custom-light: #7961b1;
$custom-dark: #000000;
JSON
{
  "hex": "#36248f",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 250.093,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.16535,
    "h": 281.9
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36248F

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

Preview Lab → · Contrast checker → · Palette generator →

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