#362282#362282

#362282 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.151 H 284.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#362282
RGBrgb(54, 34, 130)
HSLhsl(253, 59%, 32%)
HSVhsv(253, 74%, 51%)
CMYKcmyk(58.5%, 73.8%, 0%, 49%)
CIE-LABlab(22.09, 36.25, -50.75)
CIE-LCHlch(22.09, 62.37, 305.54°)
OKLaboklab(34.42% 0.0385 -0.1461)
OKLCHoklch(34.42% 0.151 284.8)
XYZxyz(6.1214, 3.5397, 21.4754)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362282 #6E8222
analogous
#223E82 #362282 #662282
triadic
#362282 #823622 #228236
tetradic
#362282 #82223E #6E8222 #228266
square
#362282 #82223E #6E8222 #228266
split-complementary
#362282 #826622 #3E8222
monochromatic
#0E0921 #221551 #362282 #4A2FB3 #694ED1

Accessibility & contrast

On white

12.30
#362282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#362282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362282
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362282#FFFFFF#000000##FFFFFF
##3622821.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362282;
/* rgb */ color: rgb(54, 34, 130);
/* oklch */ color: oklch(34.4% 0.151 284.8);
Tailwind
colors: {
  custom: {
    50: '#765fa7',
    500: '#362282',
    950: '#000000',
  },
}
SCSS
$custom: #362282;
$custom-light: #765fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#362282",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 252.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34421,
    "c": 0.15107,
    "h": 284.8
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#362282
secondary
#9EB44C
accent
#E246C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #362282

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

Preview Lab → · Contrast checker → · Palette generator →

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