#362196#362196

#362196 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.177 H 281.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#362196
RGBrgb(54, 33, 150)
HSLhsl(251, 64%, 36%)
HSVhsv(251, 78%, 59%)
CMYKcmyk(64%, 78%, 0%, 41.2%)
CIE-LABlab(23.91, 43.07, -60.21)
CIE-LCHlch(23.91, 74.03, 305.58°)
OKLaboklab(36.32% 0.0343 -0.1737)
OKLCHoklch(36.32% 0.177 281.2)
XYZxyz(7.5685, 4.0734, 29.2357)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362196 #819621
analogous
#214696 #362196 #702196
triadic
#362196 #963621 #219636
tetradic
#362196 #962146 #819621 #219670
square
#362196 #962146 #819621 #219670
split-complementary
#362196 #967021 #469621
monochromatic
#120B32 #241664 #362196 #482CC8 #6F57DA

Accessibility & contrast

On white

11.57
#362196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#362196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362196
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362196#FFFFFF#000000##FFFFFF
##3621961.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #362196;
/* rgb */ color: rgb(54, 33, 150);
/* oklch */ color: oklch(36.3% 0.177 281.2);
Tailwind
colors: {
  custom: {
    50: '#7a60b6',
    500: '#362196',
    950: '#000000',
  },
}
SCSS
$custom: #362196;
$custom-light: #7a60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#362196",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 250.769,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.17708,
    "h": 281.2
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#362196
secondary
#ABBE55
accent
#E741C9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362196

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

Preview Lab → · Contrast checker → · Palette generator →

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