#320A40#320A40

#320A40 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.100 H 315.6°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#320A40
RGBrgb(50, 10, 64)
HSLhsl(284, 73%, 15%)
HSVhsv(284, 84%, 25%)
CMYKcmyk(21.9%, 84.4%, 0%, 74.9%)
CIE-LABlab(11.03, 29.13, -24.87)
CIE-LCHlch(11.03, 38.30, 319.51°)
OKLaboklab(24.6% 0.0715 -0.0701)
OKLCHoklch(24.6% 0.1 315.6)
XYZxyz(2.3492, 1.2654, 4.9700)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320A40 #18400A
analogous
#170A40 #320A40 #400A33
triadic
#320A40 #40320A #0A4032
tetradic
#320A40 #40170A #18400A #0A3340
square
#320A40 #40170A #18400A #0A3340
split-complementary
#320A40 #33400A #0A4017
monochromatic
#15041A #15041A #320A40 #5B1275 #851BAA

Accessibility & contrast

On white

16.76
#320A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#320A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320A40
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320A40#FFFFFF#000000##FFFFFF
##320A401.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#091F3F
Tritanopia (blue-blind)
#311624
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320a40;
/* rgb */ color: rgb(50, 10, 64);
/* oklch */ color: oklch(24.6% 0.100 315.6);
Tailwind
colors: {
  custom: {
    50: '#6c4e75',
    500: '#320a40',
    950: '#000000',
  },
}
SCSS
$custom: #320a40;
$custom-light: #6c4e75;
$custom-dark: #000000;
JSON
{
  "hex": "#320a40",
  "rgb": {
    "r": 50,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 284.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24597,
    "c": 0.10015,
    "h": 315.6
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#320A40
secondary
#3F7D29
accent
#F03868
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320A40

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

Preview Lab → · Contrast checker → · Palette generator →

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