#36258B#36258B

#36258B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.159 H 282.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#36258B
RGBrgb(54, 37, 139)
HSLhsl(250, 58%, 35%)
HSVhsv(250, 73%, 55%)
CMYKcmyk(61.2%, 73.4%, 0%, 45.5%)
CIE-LABlab(23.58, 37.41, -53.95)
CIE-LCHlch(23.58, 65.65, 304.74°)
OKLaboklab(35.74% 0.0341 -0.1555)
OKLCHoklch(35.74% 0.159 282.4)
XYZxyz(6.8416, 3.9710, 24.8271)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36258B #7A8B25
analogous
#25478B #36258B #69258B
triadic
#36258B #8B3625 #258B36
tetradic
#36258B #8B2547 #7A8B25 #258B69
square
#36258B #8B2547 #7A8B25 #258B69
split-complementary
#36258B #8B6925 #478B25
monochromatic
#100B2A #23185B #36258B #4932BB #6C58D3

Accessibility & contrast

On white

11.70
#36258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36258B
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36258B#FFFFFF#000000##FFFFFF
##36258B1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #36258b;
/* rgb */ color: rgb(54, 37, 139);
/* oklch */ color: oklch(35.7% 0.159 282.4);
Tailwind
colors: {
  custom: {
    50: '#7861ae',
    500: '#36258b',
    950: '#000000',
  },
}
SCSS
$custom: #36258b;
$custom-light: #7861ae;
$custom-dark: #000000;
JSON
{
  "hex": "#36258b",
  "rgb": {
    "r": 54,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 250,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35744,
    "c": 0.15916,
    "h": 282.4
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36258B

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

Preview Lab → · Contrast checker → · Palette generator →

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