#362198#362198

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

Color values

HEX#362198
RGBrgb(54, 33, 152)
HSLhsl(251, 64%, 36%)
HSVhsv(251, 78%, 60%)
CMYKcmyk(64.5%, 78.3%, 0%, 40.4%)
CIE-LABlab(24.12, 43.69, -61.09)
CIE-LCHlch(24.12, 75.11, 305.57°)
OKLaboklab(36.53% 0.0337 -0.1763)
OKLCHoklch(36.53% 0.18 280.8)
XYZxyz(7.7309, 4.1384, 30.0911)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362198 #839821
analogous
#214898 #362198 #722198
triadic
#362198 #983621 #219836
tetradic
#362198 #982148 #839821 #219872
square
#362198 #982148 #839821 #219872
split-complementary
#362198 #987221 #489821
monochromatic
#120B33 #241666 #362198 #482CCA #7059DB

Accessibility & contrast

On white

11.49
#362198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#362198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362198
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362198#FFFFFF#000000##FFFFFF
##3621981.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #362198;
/* rgb */ color: rgb(54, 33, 152);
/* oklch */ color: oklch(36.5% 0.180 280.8);
Tailwind
colors: {
  custom: {
    50: '#7b60b7',
    500: '#362198',
    950: '#000000',
  },
}
SCSS
$custom: #362198;
$custom-light: #7b60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362198",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 250.588,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36529,
    "c": 0.17951,
    "h": 280.8
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#362198
secondary
#ACBF56
accent
#E740CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #362198

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

Preview Lab → · Contrast checker → · Palette generator →

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