#36147C#36147C

#36147C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.158 H 288.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#36147C
RGBrgb(54, 20, 124)
HSLhsl(260, 72%, 28%)
HSVhsv(260, 84%, 49%)
CMYKcmyk(56.5%, 83.9%, 0%, 51.4%)
CIE-LABlab(18.97, 41.59, -52.07)
CIE-LCHlch(18.97, 66.64, 308.61°)
OKLaboklab(32.05% 0.051 -0.1498)
OKLCHoklch(32.05% 0.158 288.8)
XYZxyz(5.4085, 2.7395, 19.3087)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36147C #5A7C14
analogous
#14267C #36147C #6A147C
triadic
#36147C #7C3614 #147C36
tetradic
#36147C #7C1426 #5A7C14 #147C6A
square
#36147C #7C1426 #5A7C14 #147C6A
split-complementary
#36147C #7C6A14 #267C14
monochromatic
#0B041A #1F0B47 #36147C #4D1DB1 #672DDD

Accessibility & contrast

On white

13.57
#36147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#36147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36147C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36147C#FFFFFF#000000##FFFFFF
##36147C1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#193349
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #36147c;
/* rgb */ color: rgb(54, 20, 124);
/* oklch */ color: oklch(32.0% 0.158 288.8);
Tailwind
colors: {
  custom: {
    50: '#7657a3',
    500: '#36147c',
    950: '#000000',
  },
}
SCSS
$custom: #36147c;
$custom-light: #7657a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36147c",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 259.615,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.15828,
    "h": 288.8
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36147C

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

Preview Lab → · Contrast checker → · Palette generator →

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