#36255D#36255D

#36255D is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.7% C 0.096 H 294.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#36255D
RGBrgb(54, 37, 93)
HSLhsl(258, 43%, 25%)
HSVhsv(258, 60%, 36%)
CMYKcmyk(41.9%, 60.2%, 0%, 63.5%)
CIE-LABlab(19.63, 22.61, -30.85)
CIE-LCHlch(19.63, 38.24, 306.24°)
OKLaboklab(31.66% 0.0395 -0.0876)
OKLCHoklch(31.66% 0.096 294.2)
XYZxyz(4.1582, 2.8976, 10.6940)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36255D #4C5D25
analogous
#25305D #36255D #52255D
triadic
#36255D #5D3625 #255D36
tetradic
#36255D #5D2530 #4C5D25 #255D52
square
#36255D #5D2530 #4C5D25 #255D52
split-complementary
#36255D #5D5225 #305D25
monochromatic
#0D0916 #1D1431 #36255D #4F3689 #6948B5

Accessibility & contrast

On white

13.29
#36255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36255D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36255D#FFFFFF#000000##FFFFFF
##36255D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#0E2F5C
Tritanopia (blue-blind)
#2C313D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36255d;
/* rgb */ color: rgb(54, 37, 93);
/* oklch */ color: oklch(31.7% 0.096 294.2);
Tailwind
colors: {
  custom: {
    50: '#70608b',
    500: '#36255d',
    950: '#000000',
  },
}
SCSS
$custom: #36255d;
$custom-light: #70608b;
$custom-dark: #000000;
JSON
{
  "hex": "#36255d",
  "rgb": {
    "r": 54,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 258.214,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3166,
    "c": 0.09608,
    "h": 294.2
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#36255D
secondary
#7C904D
accent
#D355AD
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #36255D

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

Preview Lab → · Contrast checker → · Palette generator →

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