#36285E#36285E

#36285E is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.3% C 0.093 H 292.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#36285E
RGBrgb(54, 40, 94)
HSLhsl(256, 40%, 26%)
HSVhsv(256, 57%, 37%)
CMYKcmyk(42.6%, 57.4%, 0%, 63.1%)
CIE-LABlab(20.48, 20.93, -30.14)
CIE-LCHlch(20.48, 36.70, 304.77°)
OKLaboklab(32.31% 0.0352 -0.0855)
OKLCHoklch(32.31% 0.093 292.4)
XYZxyz(4.3000, 3.1099, 10.9612)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36285E #505E28
analogous
#28355E #36285E #51285E
triadic
#36285E #5E3628 #285E36
tetradic
#36285E #5E2835 #505E28 #285E51
square
#36285E #5E2835 #505E28 #285E51
split-complementary
#36285E #5E5128 #355E28
monochromatic
#0C0915 #1D1633 #36285E #4F3A89 #684DB3

Accessibility & contrast

On white

12.95
#36285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#36285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36285E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36285E#FFFFFF#000000##FFFFFF
##36285E1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103260
Deuteranopia (green-blind)
#13305D
Tritanopia (blue-blind)
#2C333E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #36285e;
/* rgb */ color: rgb(54, 40, 94);
/* oklch */ color: oklch(32.3% 0.093 292.4);
Tailwind
colors: {
  custom: {
    50: '#70628c',
    500: '#36285e',
    950: '#000000',
  },
}
SCSS
$custom: #36285e;
$custom-light: #70628c;
$custom-dark: #000000;
JSON
{
  "hex": "#36285e",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 255.556,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32311,
    "c": 0.09251,
    "h": 292.4
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#36285E
secondary
#809151
accent
#D058B1
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #36285E

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

Preview Lab → · Contrast checker → · Palette generator →

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