#362587#362587

#362587 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.154 H 283.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#362587
RGBrgb(54, 37, 135)
HSLhsl(250, 57%, 34%)
HSVhsv(250, 73%, 53%)
CMYKcmyk(60%, 72.6%, 0%, 47.1%)
CIE-LABlab(23.19, 36.12, -52.08)
CIE-LCHlch(23.19, 63.38, 304.74°)
OKLaboklab(35.35% 0.0349 -0.15)
OKLCHoklch(35.35% 0.154 283.1)
XYZxyz(6.5547, 3.8562, 23.3159)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362587 #768725
analogous
#254587 #362587 #672587
triadic
#362587 #873625 #258736
tetradic
#362587 #872545 #768725 #258767
square
#362587 #872545 #768725 #258767
split-complementary
#362587 #876725 #458725
monochromatic
#100B27 #231857 #362587 #4932B7 #6B56D1

Accessibility & contrast

On white

11.86
#362587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#362587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362587
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362587#FFFFFF#000000##FFFFFF
##3625871.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#053F53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #362587;
/* rgb */ color: rgb(54, 37, 135);
/* oklch */ color: oklch(35.4% 0.154 283.1);
Tailwind
colors: {
  custom: {
    50: '#7761ab',
    500: '#362587',
    950: '#000000',
  },
}
SCSS
$custom: #362587;
$custom-light: #7761ab;
$custom-dark: #000000;
JSON
{
  "hex": "#362587",
  "rgb": {
    "r": 54,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 250.408,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.15401,
    "h": 283.1
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#362587
secondary
#A4B553
accent
#E048C6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #362587

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

Preview Lab → · Contrast checker → · Palette generator →

#362587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva