#321E3E#321E3E

#321E3E is a dark, moderate violet. Relative luminance 0.020; OKLCH L 27.6% C 0.062 H 311.7°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#321E3E
RGBrgb(50, 30, 62)
HSLhsl(278, 35%, 18%)
HSVhsv(278, 52%, 24%)
CMYKcmyk(19.4%, 51.6%, 0%, 75.7%)
CIE-LABlab(15.25, 16.91, -16.75)
CIE-LCHlch(15.25, 23.80, 315.27°)
OKLaboklab(27.63% 0.0415 -0.0465)
OKLCHoklch(27.63% 0.062 311.7)
XYZxyz(2.6490, 1.9545, 4.7942)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E3E #2A3E1E
analogous
#221E3E #321E3E #3E1E3A
triadic
#321E3E #3E321E #1E3E32
tetradic
#321E3E #3E221E #2A3E1E #1E3A3E
square
#321E3E #3E221E #2A3E1E #1E3A3E
split-complementary
#321E3E #3A3E1E #1E3E22
monochromatic
#110A15 #110A15 #321E3E #533267 #754690

Accessibility & contrast

On white

15.10
#321E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#321E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321E3E
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E3E#FFFFFF#000000##FFFFFF
##321E3E1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253F
Deuteranopia (green-blind)
#1C273D
Tritanopia (blue-blind)
#31232B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321e3e;
/* rgb */ color: rgb(50, 30, 62);
/* oklch */ color: oklch(27.6% 0.062 311.7);
Tailwind
colors: {
  custom: {
    50: '#6b5a73',
    500: '#321e3e',
    950: '#000000',
  },
}
SCSS
$custom: #321e3e;
$custom-light: #6b5a73;
$custom-dark: #000000;
JSON
{
  "hex": "#321e3e",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 62
  },
  "hsl": {
    "h": 277.5,
    "s": 34.783,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27629,
    "c": 0.06234,
    "h": 311.7
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#321E3E
secondary
#567246
accent
#CB5D86
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #321E3E

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

Preview Lab → · Contrast checker → · Palette generator →

#321E3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva