#362291#362291

#362291 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.170 H 281.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#362291
RGBrgb(54, 34, 145)
HSLhsl(251, 62%, 35%)
HSVhsv(251, 77%, 57%)
CMYKcmyk(62.8%, 76.6%, 0%, 43.1%)
CIE-LABlab(23.58, 40.99, -57.67)
CIE-LCHlch(23.58, 70.75, 305.40°)
OKLaboklab(35.93% 0.0349 -0.1663)
OKLCHoklch(35.93% 0.17 281.9)
XYZxyz(7.2026, 3.9721, 27.1697)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362291 #7D9122
analogous
#224591 #362291 #6E2291
triadic
#362291 #913622 #229136
tetradic
#362291 #912245 #7D9122 #22916E
square
#362291 #912245 #7D9122 #22916E
split-complementary
#362291 #916E22 #459122
monochromatic
#110B2E #24165F #362291 #482EC3 #6D56D7

Accessibility & contrast

On white

11.70
#362291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362291
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362291#FFFFFF#000000##FFFFFF
##3622911.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362291;
/* rgb */ color: rgb(54, 34, 145);
/* oklch */ color: oklch(35.9% 0.170 281.9);
Tailwind
colors: {
  custom: {
    50: '#7960b2',
    500: '#362291',
    950: '#000000',
  },
}
SCSS
$custom: #362291;
$custom-light: #7960b2;
$custom-dark: #000000;
JSON
{
  "hex": "#362291",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 250.811,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35928,
    "c": 0.16996,
    "h": 281.9
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#362291
secondary
#A9BB53
accent
#E543C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362291

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

Preview Lab → · Contrast checker → · Palette generator →

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