#362292#362292

#362292 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.171 H 281.7°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#362292
RGBrgb(54, 34, 146)
HSLhsl(251, 62%, 35%)
HSVhsv(251, 77%, 57%)
CMYKcmyk(63%, 76.7%, 0%, 42.7%)
CIE-LABlab(23.68, 41.30, -58.12)
CIE-LCHlch(23.68, 71.30, 305.40°)
OKLaboklab(36.03% 0.0347 -0.1676)
OKLCHoklch(36.03% 0.171 281.7)
XYZxyz(7.2800, 4.0031, 27.5776)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362292 #7E9222
analogous
#224692 #362292 #6E2292
triadic
#362292 #923622 #229236
tetradic
#362292 #922246 #7E9222 #22926E
square
#362292 #922246 #7E9222 #22926E
split-complementary
#362292 #926E22 #469222
monochromatic
#110B2F #241660 #362292 #482EC4 #6E57D8

Accessibility & contrast

On white

11.66
#362292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#362292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362292
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362292#FFFFFF#000000##FFFFFF
##3622921.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.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: #362292;
/* rgb */ color: rgb(54, 34, 146);
/* oklch */ color: oklch(36.0% 0.171 281.7);
Tailwind
colors: {
  custom: {
    50: '#7960b3',
    500: '#362292',
    950: '#000000',
  },
}
SCSS
$custom: #362292;
$custom-light: #7960b3;
$custom-dark: #000000;
JSON
{
  "hex": "#362292",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 250.714,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36031,
    "c": 0.1712,
    "h": 281.7
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#362292
secondary
#A9BC54
accent
#E543C8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362292

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

Preview Lab → · Contrast checker → · Palette generator →

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