#362078#362078

#362078 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.141 H 287.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#362078
RGBrgb(54, 32, 120)
HSLhsl(255, 58%, 30%)
HSVhsv(255, 73%, 47%)
CMYKcmyk(55%, 73.3%, 0%, 52.9%)
CIE-LABlab(20.72, 34.24, -46.64)
CIE-LCHlch(20.72, 57.86, 306.29°)
OKLaboklab(33.16% 0.0425 -0.134)
OKLCHoklch(33.16% 0.141 287.6)
XYZxyz(5.4270, 3.1731, 18.0922)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362078 #627820
analogous
#203678 #362078 #622078
triadic
#362078 #783620 #207836
tetradic
#362078 #782036 #627820 #207862
square
#362078 #782036 #627820 #207862
split-complementary
#362078 #786220 #367820
monochromatic
#0B0618 #201348 #362078 #4C2DA8 #6745CD

Accessibility & contrast

On white

12.85
#362078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#362078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362078
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362078#FFFFFF#000000##FFFFFF
##3620781.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#1C3749
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #362078;
/* rgb */ color: rgb(54, 32, 120);
/* oklch */ color: oklch(33.2% 0.141 287.6);
Tailwind
colors: {
  custom: {
    50: '#755da0',
    500: '#362078',
    950: '#000000',
  },
}
SCSS
$custom: #362078;
$custom-light: #755da0;
$custom-dark: #000000;
JSON
{
  "hex": "#362078",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 255,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33159,
    "c": 0.14058,
    "h": 287.6
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#362078
secondary
#93AB48
accent
#E147BB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #362078

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

Preview Lab → · Contrast checker → · Palette generator →

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