#362079#362079

#362079 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.142 H 287.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#362079
RGBrgb(54, 32, 121)
HSLhsl(255, 58%, 30%)
HSVhsv(255, 74%, 47%)
CMYKcmyk(55.4%, 73.6%, 0%, 52.5%)
CIE-LABlab(20.82, 34.56, -47.12)
CIE-LCHlch(20.82, 58.43, 306.25°)
OKLaboklab(33.26% 0.0423 -0.1354)
OKLCHoklch(33.26% 0.142 287.3)
XYZxyz(5.4880, 3.1975, 18.4135)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362079 #637920
analogous
#203779 #362079 #622079
triadic
#362079 #793620 #207936
tetradic
#362079 #792037 #637920 #207962
square
#362079 #792037 #637920 #207962
split-complementary
#362079 #796220 #377920
monochromatic
#0B0618 #201349 #362079 #4C2DA9 #6745CE

Accessibility & contrast

On white

12.81
#362079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#362079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362079
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362079#FFFFFF#000000##FFFFFF
##3620791.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#1B374A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #362079;
/* rgb */ color: rgb(54, 32, 121);
/* oklch */ color: oklch(33.3% 0.142 287.3);
Tailwind
colors: {
  custom: {
    50: '#755da1',
    500: '#362079',
    950: '#000000',
  },
}
SCSS
$custom: #362079;
$custom-light: #755da1;
$custom-dark: #000000;
JSON
{
  "hex": "#362079",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 254.831,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.33255,
    "c": 0.14187,
    "h": 287.3
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#362079
secondary
#94AC49
accent
#E146BB
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #362079

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

Preview Lab → · Contrast checker → · Palette generator →

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