#362191#362191

#362191 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.171 H 282.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#362191
RGBrgb(54, 33, 145)
HSLhsl(251, 63%, 35%)
HSVhsv(251, 77%, 57%)
CMYKcmyk(62.8%, 77.2%, 0%, 43.1%)
CIE-LABlab(23.39, 41.52, -57.98)
CIE-LCHlch(23.39, 71.32, 305.61°)
OKLaboklab(35.8% 0.0356 -0.1672)
OKLCHoklch(35.8% 0.171 282)
XYZxyz(7.1744, 3.9158, 27.1603)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362191 #7C9121
analogous
#214491 #362191 #6E2191
triadic
#362191 #913621 #219136
tetradic
#362191 #912144 #7C9121 #21916E
square
#362191 #912144 #7C9121 #21916E
split-complementary
#362191 #916E21 #449121
monochromatic
#110A2D #23165F #362191 #492CC3 #6D54D8

Accessibility & contrast

On white

11.78
#362191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#362191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362191
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362191#FFFFFF#000000##FFFFFF
##3621911.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362191;
/* rgb */ color: rgb(54, 33, 145);
/* oklch */ color: oklch(35.8% 0.171 282.0);
Tailwind
colors: {
  custom: {
    50: '#795fb2',
    500: '#362191',
    950: '#000000',
  },
}
SCSS
$custom: #362191;
$custom-light: #795fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#362191",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 251.25,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35796,
    "c": 0.17098,
    "h": 282
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#362191
secondary
#A8BC52
accent
#E642C7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362191

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

Preview Lab → · Contrast checker → · Palette generator →

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