#362298#362298

#362298 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.179 H 280.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#362298
RGBrgb(54, 34, 152)
HSLhsl(250, 63%, 36%)
HSVhsv(250, 78%, 60%)
CMYKcmyk(64.5%, 77.6%, 0%, 40.4%)
CIE-LABlab(24.30, 43.17, -60.80)
CIE-LCHlch(24.30, 74.57, 305.38°)
OKLaboklab(36.66% 0.0331 -0.1754)
OKLCHoklch(36.66% 0.179 280.7)
XYZxyz(7.7591, 4.1947, 30.1005)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362298 #849822
analogous
#224998 #362298 #712298
triadic
#362298 #983622 #229836
tetradic
#362298 #982249 #849822 #229871
square
#362298 #982249 #849822 #229871
split-complementary
#362298 #987122 #499822
monochromatic
#120C34 #241766 #362298 #482DCA #705ADA

Accessibility & contrast

On white

11.42
#362298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#362298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362298
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362298#FFFFFF#000000##FFFFFF
##3622981.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #362298;
/* rgb */ color: rgb(54, 34, 152);
/* oklch */ color: oklch(36.7% 0.179 280.7);
Tailwind
colors: {
  custom: {
    50: '#7b60b7',
    500: '#362298',
    950: '#000000',
  },
}
SCSS
$custom: #362298;
$custom-light: #7b60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362298",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 250.169,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36656,
    "c": 0.17854,
    "h": 280.7
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#362298
secondary
#ADBE57
accent
#E641CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #362298

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

Preview Lab → · Contrast checker → · Palette generator →

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