#36245E#36245E

#36245E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.6% C 0.099 H 294.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#36245E
RGBrgb(54, 36, 94)
HSLhsl(259, 45%, 25%)
HSVhsv(259, 62%, 37%)
CMYKcmyk(42.6%, 61.7%, 0%, 63.1%)
CIE-LABlab(19.45, 23.57, -31.80)
CIE-LCHlch(19.45, 39.58, 306.55°)
OKLaboklab(31.55% 0.0409 -0.0904)
OKLCHoklch(31.55% 0.099 294.3)
XYZxyz(4.1720, 2.8541, 10.9186)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36245E #4C5E24
analogous
#242F5E #36245E #53245E
triadic
#36245E #5E3624 #245E36
tetradic
#36245E #5E242F #4C5E24 #245E53
square
#36245E #5E242F #4C5E24 #245E53
split-complementary
#36245E #5E5324 #2F5E24
monochromatic
#0D0816 #1D1332 #36245E #4F358A #6946B7

Accessibility & contrast

On white

13.37
#36245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#36245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36245E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36245E#FFFFFF#000000##FFFFFF
##36245E1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043060
Deuteranopia (green-blind)
#0B2E5D
Tritanopia (blue-blind)
#2C303D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36245e;
/* rgb */ color: rgb(54, 36, 94);
/* oklch */ color: oklch(31.6% 0.099 294.3);
Tailwind
colors: {
  custom: {
    50: '#705f8c',
    500: '#36245e',
    950: '#000000',
  },
}
SCSS
$custom: #36245e;
$custom-light: #705f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#36245e",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 258.621,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.09921,
    "h": 294.3
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#36245E
secondary
#7C924C
accent
#D453AC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #36245E

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

Preview Lab → · Contrast checker → · Palette generator →

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