#362192#362192

#362192 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.172 H 281.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#362192
RGBrgb(54, 33, 146)
HSLhsl(251, 63%, 35%)
HSVhsv(251, 77%, 57%)
CMYKcmyk(63%, 77.4%, 0%, 42.7%)
CIE-LABlab(23.49, 41.83, -58.43)
CIE-LCHlch(23.49, 71.86, 305.60°)
OKLaboklab(35.9% 0.0354 -0.1685)
OKLCHoklch(35.9% 0.172 281.8)
XYZxyz(7.2519, 3.9468, 27.5682)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362192 #7D9221
analogous
#214592 #362192 #6E2192
triadic
#362192 #923621 #219236
tetradic
#362192 #922145 #7D9221 #21926E
square
#362192 #922145 #7D9221 #21926E
split-complementary
#362192 #926E21 #459221
monochromatic
#110A2E #241660 #362192 #482CC4 #6D55D9

Accessibility & contrast

On white

11.74
#362192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#362192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362192
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362192#FFFFFF#000000##FFFFFF
##3621921.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362192;
/* rgb */ color: rgb(54, 33, 146);
/* oklch */ color: oklch(35.9% 0.172 281.8);
Tailwind
colors: {
  custom: {
    50: '#795fb3',
    500: '#362192',
    950: '#000000',
  },
}
SCSS
$custom: #362192;
$custom-light: #795fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#362192",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 251.15,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.359,
    "c": 0.17221,
    "h": 281.8
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#362192
secondary
#A9BC53
accent
#E642C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362192

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

Preview Lab → · Contrast checker → · Palette generator →

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