#362287#362287

#362287 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.157 H 283.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#362287
RGBrgb(54, 34, 135)
HSLhsl(252, 60%, 33%)
HSVhsv(252, 75%, 53%)
CMYKcmyk(60%, 74.8%, 0%, 47.1%)
CIE-LABlab(22.57, 37.84, -53.10)
CIE-LCHlch(22.57, 65.20, 305.47°)
OKLaboklab(34.92% 0.0374 -0.1529)
OKLCHoklch(34.92% 0.157 283.7)
XYZxyz(6.4652, 3.6772, 23.2861)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362287 #738722
analogous
#224087 #362287 #682287
triadic
#362287 #873622 #228736
tetradic
#362287 #872240 #738722 #228768
square
#362287 #872240 #738722 #228768
split-complementary
#362287 #876822 #408722
monochromatic
#0F0925 #221656 #362287 #4A2EB8 #6A50D3

Accessibility & contrast

On white

12.10
#362287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#362287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362287
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362287#FFFFFF#000000##FFFFFF
##3622871.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#063E52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #362287;
/* rgb */ color: rgb(54, 34, 135);
/* oklch */ color: oklch(34.9% 0.157 283.7);
Tailwind
colors: {
  custom: {
    50: '#775fab',
    500: '#362287',
    950: '#000000',
  },
}
SCSS
$custom: #362287;
$custom-light: #775fab;
$custom-dark: #000000;
JSON
{
  "hex": "#362287",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 251.881,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34915,
    "c": 0.15745,
    "h": 283.7
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#362287
secondary
#A2B74E
accent
#E345C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #362287

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

Preview Lab → · Contrast checker → · Palette generator →

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