#320A48#320A48

#320A48 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.109 H 310.0°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#320A48
RGBrgb(50, 10, 72)
HSLhsl(279, 76%, 16%)
HSVhsv(279, 86%, 28%)
CMYKcmyk(30.6%, 86.1%, 0%, 71.8%)
CIE-LABlab(11.71, 31.09, -29.40)
CIE-LCHlch(11.71, 42.79, 316.60°)
OKLaboklab(25.29% 0.0699 -0.0834)
OKLCHoklch(25.29% 0.109 310)
XYZxyz(2.5934, 1.3631, 6.2561)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320A48 #20480A
analogous
#130A48 #320A48 #480A3F
triadic
#320A48 #48320A #0A4832
tetradic
#320A48 #48130A #20480A #0A3F48
square
#320A48 #48130A #20480A #0A3F48
split-complementary
#320A48 #3F480A #0A4813
monochromatic
#13041B #13041B #320A48 #57117E #7D19B3

Accessibility & contrast

On white

16.50
#320A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320A48
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320A48#FFFFFF#000000##FFFFFF
##320A481.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#2F1929
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320a48;
/* rgb */ color: rgb(50, 10, 72);
/* oklch */ color: oklch(25.3% 0.109 310.0);
Tailwind
colors: {
  custom: {
    50: '#6d4e7b',
    500: '#320a48',
    950: '#000000',
  },
}
SCSS
$custom: #320a48;
$custom-light: #6d4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#320a48",
  "rgb": {
    "r": 50,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 278.71,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2529,
    "c": 0.10882,
    "h": 310
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#320A48
secondary
#4A8529
accent
#F23679
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320A48

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

Preview Lab → · Contrast checker → · Palette generator →

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