#36247B#36247B

#36247B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.139 H 285.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#36247B
RGBrgb(54, 36, 123)
HSLhsl(252, 55%, 31%)
HSVhsv(252, 71%, 48%)
CMYKcmyk(56.1%, 70.7%, 0%, 51.8%)
CIE-LABlab(21.86, 32.84, -46.70)
CIE-LCHlch(21.86, 57.09, 305.11°)
OKLaboklab(34.05% 0.0381 -0.1342)
OKLCHoklch(34.05% 0.139 285.8)
XYZxyz(5.7263, 3.4758, 19.1042)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36247B #697B24
analogous
#243D7B #36247B #61247B
triadic
#36247B #7B3624 #247B36
tetradic
#36247B #7B243D #697B24 #247B61
square
#36247B #7B243D #697B24 #247B61
split-complementary
#36247B #7B6124 #3D7B24
monochromatic
#0C081C #21164C #36247B #4B32AA #684ECB

Accessibility & contrast

On white

12.39
#36247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#36247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36247B
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36247B#FFFFFF#000000##FFFFFF
##36247B1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#193A4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36247b;
/* rgb */ color: rgb(54, 36, 123);
/* oklch */ color: oklch(34.1% 0.139 285.8);
Tailwind
colors: {
  custom: {
    50: '#7560a2',
    500: '#36247b',
    950: '#000000',
  },
}
SCSS
$custom: #36247b;
$custom-light: #7560a2;
$custom-dark: #000000;
JSON
{
  "hex": "#36247b",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 252.414,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.13949,
    "h": 285.8
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#36247B
secondary
#9AAD4D
accent
#DE4ABF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36247B

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

Preview Lab → · Contrast checker → · Palette generator →

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