#362197#362197

#362197 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.178 H 281.0°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#362197
RGBrgb(54, 33, 151)
HSLhsl(251, 64%, 36%)
HSVhsv(251, 78%, 59%)
CMYKcmyk(64.2%, 78.1%, 0%, 40.8%)
CIE-LABlab(24.02, 43.38, -60.65)
CIE-LCHlch(24.02, 74.57, 305.57°)
OKLaboklab(36.42% 0.034 -0.175)
OKLCHoklch(36.42% 0.178 281)
XYZxyz(7.6493, 4.1058, 29.6616)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362197 #829721
analogous
#214797 #362197 #712197
triadic
#362197 #973621 #219736
tetradic
#362197 #972147 #829721 #219771
square
#362197 #972147 #829721 #219771
split-complementary
#362197 #977121 #479721
monochromatic
#120B33 #241665 #362197 #482CC9 #6F58DA

Accessibility & contrast

On white

11.53
#362197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#362197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362197
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362197#FFFFFF#000000##FFFFFF
##3621971.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #362197;
/* rgb */ color: rgb(54, 33, 151);
/* oklch */ color: oklch(36.4% 0.178 281.0);
Tailwind
colors: {
  custom: {
    50: '#7a60b7',
    500: '#362197',
    950: '#000000',
  },
}
SCSS
$custom: #362197;
$custom-light: #7a60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362197",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 250.678,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36424,
    "c": 0.17829,
    "h": 281
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#362197
secondary
#ACBE55
accent
#E741CA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362197

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

Preview Lab → · Contrast checker → · Palette generator →

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