#362097#362097

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

Color values

HEX#362097
RGBrgb(54, 32, 151)
HSLhsl(251, 65%, 36%)
HSVhsv(251, 79%, 59%)
CMYKcmyk(64.2%, 78.8%, 0%, 40.8%)
CIE-LABlab(23.84, 43.89, -60.95)
CIE-LCHlch(23.84, 75.11, 305.76°)
OKLaboklab(36.3% 0.0346 -0.1759)
OKLCHoklch(36.3% 0.179 281.1)
XYZxyz(7.6220, 4.0511, 29.6524)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362097 #819720
analogous
#204697 #362097 #712097
triadic
#362097 #973620 #209736
tetradic
#362097 #972046 #819720 #209771
square
#362097 #972046 #819720 #209771
split-complementary
#362097 #977120 #469720
monochromatic
#120B32 #241564 #362097 #482BC9 #6F56DB

Accessibility & contrast

On white

11.60
#362097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362097
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362097#FFFFFF#000000##FFFFFF
##3620971.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362097;
/* rgb */ color: rgb(54, 32, 151);
/* oklch */ color: oklch(36.3% 0.179 281.1);
Tailwind
colors: {
  custom: {
    50: '#7b5fb7',
    500: '#362097',
    950: '#000000',
  },
}
SCSS
$custom: #362097;
$custom-light: #7b5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#362097",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 251.092,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.17925,
    "h": 281.1
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#362097
secondary
#ABBF54
accent
#E840C9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #362097

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

Preview Lab → · Contrast checker → · Palette generator →

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