#36148F#36148F

#36148F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.180 H 284.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#36148F
RGBrgb(54, 20, 143)
HSLhsl(257, 75%, 32%)
HSVhsv(257, 86%, 56%)
CMYKcmyk(62.2%, 86%, 0%, 43.9%)
CIE-LABlab(21.08, 46.99, -60.55)
CIE-LCHlch(21.08, 76.64, 307.81°)
OKLaboklab(34.13% 0.0439 -0.1745)
OKLCHoklch(34.13% 0.18 284.1)
XYZxyz(6.7279, 3.2673, 26.2574)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36148F #6D8F14
analogous
#14308F #36148F #73148F
triadic
#36148F #8F3614 #148F36
tetradic
#36148F #8F1430 #6D8F14 #148F73
square
#36148F #8F1430 #6D8F14 #148F73
split-complementary
#36148F #8F7314 #308F14
monochromatic
#0D0524 #220C59 #36148F #4A1CC5 #693AE3

Accessibility & contrast

On white

12.70
#36148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#36148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36148F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36148F#FFFFFF#000000##FFFFFF
##36148F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#003B54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36148f;
/* rgb */ color: rgb(54, 20, 143);
/* oklch */ color: oklch(34.1% 0.180 284.1);
Tailwind
colors: {
  custom: {
    50: '#7a59b1',
    500: '#36148f',
    950: '#000000',
  },
}
SCSS
$custom: #36148f;
$custom-light: #7a59b1;
$custom-dark: #000000;
JSON
{
  "hex": "#36148f",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 256.585,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34131,
    "c": 0.17999,
    "h": 284.1
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#36148F
secondary
#9DC33C
accent
#F236BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #36148F

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

Preview Lab → · Contrast checker → · Palette generator →

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