#320A46#320A46

#320A46 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.107 H 311.3°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#320A46
RGBrgb(50, 10, 70)
HSLhsl(280, 75%, 16%)
HSVhsv(280, 86%, 27%)
CMYKcmyk(28.6%, 85.7%, 0%, 72.5%)
CIE-LABlab(11.54, 30.59, -28.29)
CIE-LCHlch(11.54, 41.66, 317.24°)
OKLaboklab(25.11% 0.0704 -0.0801)
OKLCHoklch(25.11% 0.107 311.3)
XYZxyz(2.5292, 1.3375, 5.9181)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320A46 #1E460A
analogous
#140A46 #320A46 #460A3C
triadic
#320A46 #46320A #0A4632
tetradic
#320A46 #46140A #1E460A #0A3C46
square
#320A46 #46140A #1E460A #0A3C46
split-complementary
#320A46 #3C460A #0A4614
monochromatic
#13041B #13041B #320A46 #58127C #7E19B1

Accessibility & contrast

On white

16.57
#320A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#320A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320A46
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320A46#FFFFFF#000000##FFFFFF
##320A461.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#011F45
Tritanopia (blue-blind)
#2F1828
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320a46;
/* rgb */ color: rgb(50, 10, 70);
/* oklch */ color: oklch(25.1% 0.107 311.3);
Tailwind
colors: {
  custom: {
    50: '#6d4e7a',
    500: '#320a46',
    950: '#000000',
  },
}
SCSS
$custom: #320a46;
$custom-light: #6d4e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#320a46",
  "rgb": {
    "r": 50,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25112,
    "c": 0.10664,
    "h": 311.3
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#320A46
secondary
#478329
accent
#F23675
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #320A46

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

Preview Lab → · Contrast checker → · Palette generator →

#320A46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva