#362279#362279

#362279 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.139 H 286.8°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#362279
RGBrgb(54, 34, 121)
HSLhsl(254, 56%, 30%)
HSVhsv(254, 72%, 47%)
CMYKcmyk(55.4%, 71.9%, 0%, 52.5%)
CIE-LABlab(21.24, 33.39, -46.43)
CIE-LCHlch(21.24, 57.19, 305.72°)
OKLaboklab(33.56% 0.0403 -0.1334)
OKLCHoklch(33.56% 0.139 286.8)
XYZxyz(5.5435, 3.3085, 18.4320)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362279 #657922
analogous
#223979 #362279 #612279
triadic
#362279 #793622 #227936
tetradic
#362279 #792239 #657922 #227961
square
#362279 #792239 #657922 #227961
split-complementary
#362279 #796122 #397922
monochromatic
#0B0719 #211549 #362279 #4B2FA9 #6749CC

Accessibility & contrast

On white

12.64
#362279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#362279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362279
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362279#FFFFFF#000000##FFFFFF
##3622791.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#1B384A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #362279;
/* rgb */ color: rgb(54, 34, 121);
/* oklch */ color: oklch(33.6% 0.139 286.8);
Tailwind
colors: {
  custom: {
    50: '#755fa1',
    500: '#362279',
    950: '#000000',
  },
}
SCSS
$custom: #362279;
$custom-light: #755fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#362279",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 253.793,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33556,
    "c": 0.13939,
    "h": 286.8
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#362279
secondary
#96AC4B
accent
#DF48BD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #362279

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

Preview Lab → · Contrast checker → · Palette generator →

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