#36147B#36147B

#36147B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.157 H 289.1°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#36147B
RGBrgb(54, 20, 123)
HSLhsl(260, 72%, 28%)
HSVhsv(260, 84%, 48%)
CMYKcmyk(56.1%, 83.7%, 0%, 51.8%)
CIE-LABlab(18.86, 41.30, -51.61)
CIE-LCHlch(18.86, 66.10, 308.67°)
OKLaboklab(31.94% 0.0514 -0.1485)
OKLCHoklch(31.94% 0.157 289.1)
XYZxyz(5.3456, 2.7144, 18.9773)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36147B #597B14
analogous
#14257B #36147B #69147B
triadic
#36147B #7B3614 #147B36
tetradic
#36147B #7B1425 #597B14 #147B69
square
#36147B #7B1425 #597B14 #147B69
split-complementary
#36147B #7B6914 #257B14
monochromatic
#0C041A #1F0B46 #36147B #4D1DB0 #672DDD

Accessibility & contrast

On white

13.61
#36147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#36147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36147B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36147B#FFFFFF#000000##FFFFFF
##36147B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#1A3348
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #36147b;
/* rgb */ color: rgb(54, 20, 123);
/* oklch */ color: oklch(31.9% 0.157 289.1);
Tailwind
colors: {
  custom: {
    50: '#7657a2',
    500: '#36147b',
    950: '#000000',
  },
}
SCSS
$custom: #36147b;
$custom-light: #7657a2;
$custom-dark: #000000;
JSON
{
  "hex": "#36147b",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 259.806,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.15712,
    "h": 289.1
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#36147B
secondary
#8AB13A
accent
#EF39B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #36147B

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

Preview Lab → · Contrast checker → · Palette generator →

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