#362186#362186

#362186 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.157 H 284.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#362186
RGBrgb(54, 33, 134)
HSLhsl(252, 60%, 33%)
HSVhsv(252, 75%, 53%)
CMYKcmyk(59.7%, 75.4%, 0%, 47.5%)
CIE-LABlab(22.28, 38.08, -52.96)
CIE-LCHlch(22.28, 65.23, 305.72°)
OKLaboklab(34.67% 0.0384 -0.1525)
OKLCHoklch(34.67% 0.157 284.1)
XYZxyz(6.3669, 3.5928, 22.9076)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362186 #718621
analogous
#213F86 #362186 #682186
triadic
#362186 #863621 #218636
tetradic
#362186 #86213F #718621 #218668
square
#362186 #86213F #718621 #218668
split-complementary
#362186 #866821 #3F8621
monochromatic
#0E0924 #221555 #362186 #4A2DB7 #6A4ED3

Accessibility & contrast

On white

12.22
#362186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#362186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362186
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362186#FFFFFF#000000##FFFFFF
##3621861.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#083D51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #362186;
/* rgb */ color: rgb(54, 33, 134);
/* oklch */ color: oklch(34.7% 0.157 284.1);
Tailwind
colors: {
  custom: {
    50: '#775faa',
    500: '#362186',
    950: '#000000',
  },
}
SCSS
$custom: #362186;
$custom-light: #775faa;
$custom-dark: #000000;
JSON
{
  "hex": "#362186",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 252.475,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34674,
    "c": 0.1573,
    "h": 284.1
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#362186
secondary
#A0B74C
accent
#E444C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #362186

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

Preview Lab → · Contrast checker → · Palette generator →

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