#36255C#36255C

#36255C is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.6% C 0.095 H 294.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#36255C
RGBrgb(54, 37, 92)
HSLhsl(259, 43%, 25%)
HSVhsv(259, 60%, 36%)
CMYKcmyk(41.3%, 59.8%, 0%, 63.9%)
CIE-LABlab(19.56, 22.30, -30.30)
CIE-LCHlch(19.56, 37.62, 306.35°)
OKLaboklab(31.58% 0.0394 -0.086)
OKLCHoklch(31.58% 0.095 294.6)
XYZxyz(4.1142, 2.8800, 10.4623)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36255C #4B5C25
analogous
#25305C #36255C #51255C
triadic
#36255C #5C3625 #255C36
tetradic
#36255C #5C2530 #4B5C25 #255C51
square
#36255C #5C2530 #4B5C25 #255C51
split-complementary
#36255C #5C5125 #305C25
monochromatic
#0D0916 #1C1330 #36255C #503788 #6948B3

Accessibility & contrast

On white

13.32
#36255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#36255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36255C
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36255C#FFFFFF#000000##FFFFFF
##36255C1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305E
Deuteranopia (green-blind)
#102E5B
Tritanopia (blue-blind)
#2D303C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36255c;
/* rgb */ color: rgb(54, 37, 92);
/* oklch */ color: oklch(31.6% 0.095 294.6);
Tailwind
colors: {
  custom: {
    50: '#70608a',
    500: '#36255c',
    950: '#000000',
  },
}
SCSS
$custom: #36255c;
$custom-light: #70608a;
$custom-dark: #000000;
JSON
{
  "hex": "#36255c",
  "rgb": {
    "r": 54,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 258.545,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31583,
    "c": 0.09462,
    "h": 294.6
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#36255C
secondary
#7B8F4D
accent
#D255AC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #36255C

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

Preview Lab → · Contrast checker → · Palette generator →

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