#362098#362098

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

Color values

HEX#362098
RGBrgb(54, 32, 152)
HSLhsl(251, 65%, 36%)
HSVhsv(251, 79%, 60%)
CMYKcmyk(64.5%, 78.9%, 0%, 40.4%)
CIE-LABlab(23.95, 44.20, -61.39)
CIE-LCHlch(23.95, 75.64, 305.75°)
OKLaboklab(36.41% 0.0343 -0.1771)
OKLCHoklch(36.41% 0.18 281)
XYZxyz(7.7035, 4.0837, 30.0820)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362098 #829820
analogous
#204698 #362098 #722098
triadic
#362098 #983620 #209836
tetradic
#362098 #982046 #829820 #209872
square
#362098 #982046 #829820 #209872
split-complementary
#362098 #987220 #469820
monochromatic
#120B33 #241565 #362098 #482BCB #6F57DC

Accessibility & contrast

On white

11.56
#362098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362098
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362098#FFFFFF#000000##FFFFFF
##3620981.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362098;
/* rgb */ color: rgb(54, 32, 152);
/* oklch */ color: oklch(36.4% 0.180 281.0);
Tailwind
colors: {
  custom: {
    50: '#7b5fb8',
    500: '#362098',
    950: '#000000',
  },
}
SCSS
$custom: #362098;
$custom-light: #7b5fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#362098",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 251,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36405,
    "c": 0.18045,
    "h": 281
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #362098

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

Preview Lab → · Contrast checker → · Palette generator →

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