#36127E#36127E

#36127E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.162 H 288.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#36127E
RGBrgb(54, 18, 126)
HSLhsl(260, 75%, 28%)
HSVhsv(260, 86%, 49%)
CMYKcmyk(57.1%, 85.7%, 0%, 50.6%)
CIE-LABlab(18.90, 43.00, -53.46)
CIE-LCHlch(18.90, 68.61, 308.81°)
OKLaboklab(32.07% 0.0515 -0.1539)
OKLCHoklch(32.07% 0.162 288.5)
XYZxyz(5.5024, 2.7230, 19.9703)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36127E #5A7E12
analogous
#12247E #36127E #6C127E
triadic
#36127E #7E3612 #127E36
tetradic
#36127E #7E1224 #5A7E12 #127E6C
square
#36127E #7E1224 #5A7E12 #127E6C
split-complementary
#36127E #7E6C12 #247E12
monochromatic
#0B041B #1F0A48 #36127E #4D1AB4 #672AE1

Accessibility & contrast

On white

13.60
#36127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#36127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36127E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36127E#FFFFFF#000000##FFFFFF
##36127E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#17334A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #36127e;
/* rgb */ color: rgb(54, 18, 126);
/* oklch */ color: oklch(32.1% 0.162 288.5);
Tailwind
colors: {
  custom: {
    50: '#7756a4',
    500: '#36127e',
    950: '#000000',
  },
}
SCSS
$custom: #36127e;
$custom-light: #7756a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36127e",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 260,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32066,
    "c": 0.16226,
    "h": 288.5
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#36127E
secondary
#8BB438
accent
#F236B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #36127E

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

Preview Lab → · Contrast checker → · Palette generator →

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