#36258A#36258A

#36258A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.158 H 282.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#36258A
RGBrgb(54, 37, 138)
HSLhsl(250, 58%, 34%)
HSVhsv(250, 73%, 54%)
CMYKcmyk(60.9%, 73.2%, 0%, 45.9%)
CIE-LABlab(23.48, 37.09, -53.49)
CIE-LCHlch(23.48, 65.09, 304.74°)
OKLaboklab(35.65% 0.0343 -0.1541)
OKLCHoklch(35.65% 0.158 282.5)
XYZxyz(6.7689, 3.9419, 24.4440)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36258A #798A25
analogous
#25478A #36258A #69258A
triadic
#36258A #8A3625 #258A36
tetradic
#36258A #8A2547 #798A25 #258A69
square
#36258A #8A2547 #798A25 #258A69
split-complementary
#36258A #8A6925 #478A25
monochromatic
#100B29 #23185A #36258A #4932BA #6C57D2

Accessibility & contrast

On white

11.74
#36258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#36258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36258A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36258A#FFFFFF#000000##FFFFFF
##36258A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #36258a;
/* rgb */ color: rgb(54, 37, 138);
/* oklch */ color: oklch(35.6% 0.158 282.5);
Tailwind
colors: {
  custom: {
    50: '#7761ad',
    500: '#36258a',
    950: '#000000',
  },
}
SCSS
$custom: #36258a;
$custom-light: #7761ad;
$custom-dark: #000000;
JSON
{
  "hex": "#36258a",
  "rgb": {
    "r": 54,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 250.099,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.15788,
    "h": 282.5
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#36258A
secondary
#A6B754
accent
#E147C7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #36258A

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

Preview Lab → · Contrast checker → · Palette generator →

#36258A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva