#362242#362242

#362242 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.2% C 0.062 H 311.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#362242
RGBrgb(54, 34, 66)
HSLhsl(278, 32%, 20%)
HSVhsv(278, 48%, 26%)
CMYKcmyk(18.2%, 48.5%, 0%, 74.1%)
CIE-LABlab(17.09, 16.71, -16.60)
CIE-LCHlch(17.09, 23.55, 315.18°)
OKLaboklab(29.21% 0.0412 -0.046)
OKLCHoklch(29.21% 0.062 311.8)
XYZxyz(3.0765, 2.3217, 5.4393)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362242 #2E4222
analogous
#262242 #362242 #42223E
triadic
#362242 #423622 #224236
tetradic
#362242 #422622 #2E4222 #223E42
square
#362242 #422622 #2E4222 #223E42
split-complementary
#362242 #3E4222 #224226
monochromatic
#110A14 #150D1A #362242 #57376A #784C93

Accessibility & contrast

On white

14.34
#362242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#362242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362242
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362242#FFFFFF#000000##FFFFFF
##3622421.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#212B41
Tritanopia (blue-blind)
#35272E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #362242;
/* rgb */ color: rgb(54, 34, 66);
/* oklch */ color: oklch(29.2% 0.062 311.8);
Tailwind
colors: {
  custom: {
    50: '#6e5d76',
    500: '#362242',
    950: '#000000',
  },
}
SCSS
$custom: #362242;
$custom-light: #6e5d76;
$custom-dark: #000000;
JSON
{
  "hex": "#362242",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 277.5,
    "s": 32,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29207,
    "c": 0.06178,
    "h": 311.8
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#362242
secondary
#5B754A
accent
#C86087
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070408
muted
#7A797B

Preview Lab

Preview with #362242

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

Preview Lab → · Contrast checker → · Palette generator →

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