#320D48#320D48

#320D48 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.105 H 309.4°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#320D48
RGBrgb(50, 13, 72)
HSLhsl(278, 69%, 17%)
HSVhsv(278, 82%, 28%)
CMYKcmyk(30.6%, 81.9%, 0%, 71.8%)
CIE-LABlab(12.18, 29.74, -28.63)
CIE-LCHlch(12.18, 41.28, 316.08°)
OKLaboklab(25.62% 0.0667 -0.0812)
OKLCHoklch(25.62% 0.105 309.4)
XYZxyz(2.6288, 1.4339, 6.2679)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D48 #23480D
analogous
#150D48 #320D48 #480D41
triadic
#320D48 #48320D #0D4832
tetradic
#320D48 #48150D #23480D #0D4148
square
#320D48 #48150D #23480D #0D4148
split-complementary
#320D48 #41480D #0D4815
monochromatic
#12051A #12051A #320D48 #56167C #7A20B0

Accessibility & contrast

On white

16.32
#320D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#320D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320D48
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D48#FFFFFF#000000##FFFFFF
##320D481.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#012047
Tritanopia (blue-blind)
#2F1B29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #320d48;
/* rgb */ color: rgb(50, 13, 72);
/* oklch */ color: oklch(25.6% 0.105 309.4);
Tailwind
colors: {
  custom: {
    50: '#6d507b',
    500: '#320d48',
    950: '#000000',
  },
}
SCSS
$custom: #320d48;
$custom-light: #6d507b;
$custom-dark: #000000;
JSON
{
  "hex": "#320d48",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 277.627,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25623,
    "c": 0.10507,
    "h": 309.4
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#320D48
secondary
#4D832D
accent
#EC3C7D
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320D48

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

Preview Lab → · Contrast checker → · Palette generator →

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