#36145E#36145E

#36145E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.123 H 299.5°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#36145E
RGBrgb(54, 20, 94)
HSLhsl(268, 65%, 22%)
HSVhsv(268, 79%, 37%)
CMYKcmyk(42.6%, 78.7%, 0%, 63.1%)
CIE-LABlab(15.97, 33.05, -37.44)
CIE-LCHlch(15.97, 49.94, 311.44°)
OKLaboklab(29.04% 0.0605 -0.1069)
OKLCHoklch(29.04% 0.123 299.5)
XYZxyz(3.7913, 2.0927, 10.7917)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36145E #3C5E14
analogous
#14175E #36145E #5B145E
triadic
#36145E #5E3614 #145E36
tetradic
#36145E #5E1417 #3C5E14 #145E5B
square
#36145E #5E1417 #3C5E14 #145E5B
split-complementary
#36145E #5E5B14 #175E14
monochromatic
#0E0519 #19092C #36145E #531F90 #7029C3

Accessibility & contrast

On white

14.80
#36145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#36145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36145E
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36145E#FFFFFF#000000##FFFFFF
##36145E1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#2D2738
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36145e;
/* rgb */ color: rgb(54, 20, 94);
/* oklch */ color: oklch(29.0% 0.123 299.5);
Tailwind
colors: {
  custom: {
    50: '#72558c',
    500: '#36145e',
    950: '#000000',
  },
}
SCSS
$custom: #36145e;
$custom-light: #72558c;
$custom-dark: #000000;
JSON
{
  "hex": "#36145e",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 267.568,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29039,
    "c": 0.12288,
    "h": 299.5
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#36145E
secondary
#6B9638
accent
#E8409B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36145E

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

Preview Lab → · Contrast checker → · Palette generator →

#36145E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva