#36247F#36247F

#36247F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.145 H 284.9°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#36247F
RGBrgb(54, 36, 127)
HSLhsl(252, 56%, 32%)
HSVhsv(252, 72%, 50%)
CMYKcmyk(57.5%, 71.7%, 0%, 50.2%)
CIE-LABlab(22.22, 34.13, -48.63)
CIE-LCHlch(22.22, 59.41, 305.06°)
OKLaboklab(34.43% 0.0373 -0.1399)
OKLCHoklch(34.43% 0.145 284.9)
XYZxyz(5.9818, 3.5780, 20.4500)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36247F #6D7F24
analogous
#24407F #36247F #64247F
triadic
#36247F #7F3624 #247F36
tetradic
#36247F #7F2440 #6D7F24 #247F64
square
#36247F #7F2440 #6D7F24 #247F64
split-complementary
#36247F #7F6424 #407F24
monochromatic
#0D0920 #22164F #36247F #4A32AF #6950CD

Accessibility & contrast

On white

12.24
#36247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#36247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36247F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36247F#FFFFFF#000000##FFFFFF
##36247F1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#143C4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #36247f;
/* rgb */ color: rgb(54, 36, 127);
/* oklch */ color: oklch(34.4% 0.145 284.9);
Tailwind
colors: {
  custom: {
    50: '#7560a5',
    500: '#36247f',
    950: '#000000',
  },
}
SCSS
$custom: #36247f;
$custom-light: #7560a5;
$custom-dark: #000000;
JSON
{
  "hex": "#36247f",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 251.868,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.14478,
    "h": 284.9
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36247F

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

Preview Lab → · Contrast checker → · Palette generator →

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