#362382#362382

#362382 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.150 H 284.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#362382
RGBrgb(54, 35, 130)
HSLhsl(252, 58%, 32%)
HSVhsv(252, 73%, 51%)
CMYKcmyk(58.5%, 73.1%, 0%, 49%)
CIE-LABlab(22.29, 35.67, -50.41)
CIE-LCHlch(22.29, 61.76, 305.29°)
OKLaboklab(34.57% 0.0377 -0.1451)
OKLCHoklch(34.57% 0.15 284.5)
XYZxyz(6.1504, 3.5977, 21.4851)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362382 #6F8223
analogous
#234082 #362382 #662382
triadic
#362382 #823623 #238236
tetradic
#362382 #822340 #6F8223 #238266
square
#362382 #822340 #6F8223 #238266
split-complementary
#362382 #826623 #408223
monochromatic
#0E0922 #221652 #362382 #4A30B2 #6950D0

Accessibility & contrast

On white

12.21
#362382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362382
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362382#FFFFFF#000000##FFFFFF
##3623821.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#103C50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #362382;
/* rgb */ color: rgb(54, 35, 130);
/* oklch */ color: oklch(34.6% 0.150 284.5);
Tailwind
colors: {
  custom: {
    50: '#7660a7',
    500: '#362382',
    950: '#000000',
  },
}
SCSS
$custom: #362382;
$custom-light: #7660a7;
$custom-dark: #000000;
JSON
{
  "hex": "#362382",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 252,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34568,
    "c": 0.1499,
    "h": 284.5
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#362382
secondary
#9FB34D
accent
#E147C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #362382

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

Preview Lab → · Contrast checker → · Palette generator →

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