#320B48#320B48

#320B48 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.108 H 309.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#320B48
RGBrgb(50, 11, 72)
HSLhsl(278, 73%, 16%)
HSVhsv(278, 85%, 28%)
CMYKcmyk(30.6%, 84.7%, 0%, 71.8%)
CIE-LABlab(11.86, 30.65, -29.16)
CIE-LCHlch(11.86, 42.31, 316.44°)
OKLaboklab(25.4% 0.0689 -0.0827)
OKLCHoklch(25.4% 0.108 309.8)
XYZxyz(2.6045, 1.3854, 6.2598)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320B48 #21480B
analogous
#140B48 #320B48 #480B40
triadic
#320B48 #48320B #0B4832
tetradic
#320B48 #48140B #21480B #0B4048
square
#320B48 #48140B #21480B #0B4048
split-complementary
#320B48 #40480B #0B4814
monochromatic
#12041B #12041B #320B48 #57137D #7C1BB2

Accessibility & contrast

On white

16.44
#320B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#320B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320B48
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320B48#FFFFFF#000000##FFFFFF
##320B481.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#2F1A29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320b48;
/* rgb */ color: rgb(50, 11, 72);
/* oklch */ color: oklch(25.4% 0.108 309.8);
Tailwind
colors: {
  custom: {
    50: '#6d4f7b',
    500: '#320b48',
    950: '#000000',
  },
}
SCSS
$custom: #320b48;
$custom-light: #6d4f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#320b48",
  "rgb": {
    "r": 50,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 278.361,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25396,
    "c": 0.10762,
    "h": 309.8
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#320B48
secondary
#4B842A
accent
#F0387A
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320B48

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

Preview Lab → · Contrast checker → · Palette generator →

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