#362182#362182

#362182 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.152 H 285.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#362182
RGBrgb(54, 33, 130)
HSLhsl(253, 60%, 32%)
HSVhsv(253, 75%, 51%)
CMYKcmyk(58.5%, 74.6%, 0%, 49%)
CIE-LABlab(21.88, 36.82, -51.08)
CIE-LCHlch(21.88, 62.97, 305.78°)
OKLaboklab(34.28% 0.0394 -0.1471)
OKLCHoklch(34.28% 0.152 285)
XYZxyz(6.0932, 3.4833, 21.4660)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362182 #6D8221
analogous
#213C82 #362182 #672182
triadic
#362182 #823621 #218236
tetradic
#362182 #82213C #6D8221 #218267
square
#362182 #82213C #6D8221 #218267
split-complementary
#362182 #826721 #3C8221
monochromatic
#0D0820 #221551 #362182 #4A2DB3 #694CD2

Accessibility & contrast

On white

12.38
#362182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#362182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362182
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362182#FFFFFF#000000##FFFFFF
##3621821.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#103B4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #362182;
/* rgb */ color: rgb(54, 33, 130);
/* oklch */ color: oklch(34.3% 0.152 285.0);
Tailwind
colors: {
  custom: {
    50: '#765fa7',
    500: '#362182',
    950: '#000000',
  },
}
SCSS
$custom: #362182;
$custom-light: #765fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#362182",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 252.99,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34276,
    "c": 0.15224,
    "h": 285
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#362182
secondary
#9DB44A
accent
#E345C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #362182

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

Preview Lab → · Contrast checker → · Palette generator →

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