#36135F#36135F

#36135F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.125 H 299.3°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#36135F
RGBrgb(54, 19, 95)
HSLhsl(268, 67%, 22%)
HSVhsv(268, 80%, 37%)
CMYKcmyk(43.2%, 80%, 0%, 62.7%)
CIE-LABlab(15.88, 33.83, -38.25)
CIE-LCHlch(15.88, 51.06, 311.50°)
OKLaboklab(29.01% 0.0613 -0.1093)
OKLCHoklch(29.01% 0.125 299.3)
XYZxyz(3.8192, 2.0762, 11.0238)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36135F #3C5F13
analogous
#13165F #36135F #5C135F
triadic
#36135F #5F3613 #135F36
tetradic
#36135F #5F1316 #3C5F13 #135F5C
square
#36135F #5F1316 #3C5F13 #135F5C
split-complementary
#36135F #5F5C13 #165F13
monochromatic
#0E051A #19092C #36135F #531D92 #7027C5

Accessibility & contrast

On white

14.84
#36135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#36135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36135F
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36135F#FFFFFF#000000##FFFFFF
##36135F1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#2C2738
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36135f;
/* rgb */ color: rgb(54, 19, 95);
/* oklch */ color: oklch(29.0% 0.125 299.3);
Tailwind
colors: {
  custom: {
    50: '#72558d',
    500: '#36135f',
    950: '#000000',
  },
}
SCSS
$custom: #36135f;
$custom-light: #72558d;
$custom-dark: #000000;
JSON
{
  "hex": "#36135f",
  "rgb": {
    "r": 54,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 267.632,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29008,
    "c": 0.12531,
    "h": 299.3
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#36135F
secondary
#6B9737
accent
#EA3E9B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36135F

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

Preview Lab → · Contrast checker → · Palette generator →

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