#36145C#36145C

#36145C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.120 H 300.4°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#36145C
RGBrgb(54, 20, 92)
HSLhsl(268, 64%, 22%)
HSVhsv(268, 78%, 36%)
CMYKcmyk(41.3%, 78.3%, 0%, 63.9%)
CIE-LABlab(15.79, 32.49, -36.40)
CIE-LCHlch(15.79, 48.79, 311.75°)
OKLaboklab(28.85% 0.061 -0.1039)
OKLCHoklch(28.85% 0.12 300.4)
XYZxyz(3.7028, 2.0573, 10.3252)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36145C #3A5C14
analogous
#14165C #36145C #5A145C
triadic
#36145C #5C3614 #145C36
tetradic
#36145C #5C1416 #3A5C14 #145C5A
square
#36145C #5C1416 #3A5C14 #145C5A
split-complementary
#36145C #5C5A14 #165C14
monochromatic
#0F0519 #18092A #36145C #541F8E #712AC1

Accessibility & contrast

On white

14.88
#36145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#36145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36145C
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36145C#FFFFFF#000000##FFFFFF
##36145C1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#2D2636
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #36145c;
/* rgb */ color: rgb(54, 20, 92);
/* oklch */ color: oklch(28.9% 0.120 300.4);
Tailwind
colors: {
  custom: {
    50: '#71558b',
    500: '#36145c',
    950: '#000000',
  },
}
SCSS
$custom: #36145c;
$custom-light: #71558b;
$custom-dark: #000000;
JSON
{
  "hex": "#36145c",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 268.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28855,
    "c": 0.12047,
    "h": 300.4
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#36145C
secondary
#689438
accent
#E74199
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36145C

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

Preview Lab → · Contrast checker → · Palette generator →

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