#36247A#36247A

#36247A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.0% C 0.138 H 286.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#36247A
RGBrgb(54, 36, 122)
HSLhsl(253, 54%, 31%)
HSVhsv(253, 70%, 48%)
CMYKcmyk(55.7%, 70.5%, 0%, 52.2%)
CIE-LABlab(21.77, 32.51, -46.21)
CIE-LCHlch(21.77, 56.50, 305.13°)
OKLaboklab(33.96% 0.0382 -0.1328)
OKLCHoklch(33.96% 0.138 286.1)
XYZxyz(5.6640, 3.4509, 18.7762)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36247A #687A24
analogous
#243D7A #36247A #61247A
triadic
#36247A #7A3624 #247A36
tetradic
#36247A #7A243D #687A24 #247A61
square
#36247A #7A243D #687A24 #247A61
split-complementary
#36247A #7A6124 #3D7A24
monochromatic
#0C081B #21164B #36247A #4B32A9 #684ECB

Accessibility & contrast

On white

12.42
#36247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#36247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36247A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36247A#FFFFFF#000000##FFFFFF
##36247A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#1A3A4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36247a;
/* rgb */ color: rgb(54, 36, 122);
/* oklch */ color: oklch(34.0% 0.138 286.1);
Tailwind
colors: {
  custom: {
    50: '#7560a1',
    500: '#36247a',
    950: '#000000',
  },
}
SCSS
$custom: #36247a;
$custom-light: #7560a1;
$custom-dark: #000000;
JSON
{
  "hex": "#36247a",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 252.558,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33961,
    "c": 0.13816,
    "h": 286.1
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#36247A
secondary
#99AC4D
accent
#DE4ABF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36247A

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

Preview Lab → · Contrast checker → · Palette generator →

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