#36257D#36257D

#36257D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.141 H 285.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#36257D
RGBrgb(54, 37, 125)
HSLhsl(252, 54%, 32%)
HSVhsv(252, 70%, 49%)
CMYKcmyk(56.8%, 70.4%, 0%, 51%)
CIE-LABlab(22.26, 32.88, -47.31)
CIE-LCHlch(22.26, 57.61, 304.80°)
OKLaboklab(34.4% 0.0368 -0.136)
OKLCHoklch(34.4% 0.141 285.1)
XYZxyz(5.8834, 3.5877, 19.7805)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36257D #6C7D25
analogous
#25407D #36257D #62257D
triadic
#36257D #7D3625 #257D36
tetradic
#36257D #7D2540 #6C7D25 #257D62
square
#36257D #7D2540 #6C7D25 #257D62
split-complementary
#36257D #7D6225 #407D25
monochromatic
#0D091F #22174E #36257D #4A33AC #6951CB

Accessibility & contrast

On white

12.23
#36257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#36257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36257D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36257D#FFFFFF#000000##FFFFFF
##36257D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#163C4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #36257d;
/* rgb */ color: rgb(54, 37, 125);
/* oklch */ color: oklch(34.4% 0.141 285.1);
Tailwind
colors: {
  custom: {
    50: '#7561a3',
    500: '#36257d',
    950: '#000000',
  },
}
SCSS
$custom: #36257d;
$custom-light: #7561a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36257d",
  "rgb": {
    "r": 54,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 251.591,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34399,
    "c": 0.14088,
    "h": 285.1
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#36257D
secondary
#9DAF4F
accent
#DE4AC1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36257D

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

Preview Lab → · Contrast checker → · Palette generator →

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