#320D4F#320D4F

#320D4F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.3% C 0.113 H 305.1°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#320D4F
RGBrgb(50, 13, 79)
HSLhsl(274, 72%, 18%)
HSVhsv(274, 84%, 31%)
CMYKcmyk(36.7%, 83.5%, 0%, 69%)
CIE-LABlab(12.80, 31.56, -32.47)
CIE-LCHlch(12.80, 45.28, 314.19°)
OKLaboklab(26.25% 0.0651 -0.0925)
OKLCHoklch(26.25% 0.113 305.1)
XYZxyz(2.8703, 1.5305, 7.5398)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D4F #2A4F0D
analogous
#110D4F #320D4F #4F0D4B
triadic
#320D4F #4F320D #0D4F32
tetradic
#320D4F #4F110D #2A4F0D #0D4B4F
square
#320D4F #4F110D #2A4F0D #0D4B4F
split-complementary
#320D4F #4B4F0D #0D4F11
monochromatic
#11041A #11041A #320D4F #531684 #751EB8

Accessibility & contrast

On white

16.08
#320D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#320D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320D4F
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D4F#FFFFFF#000000##FFFFFF
##320D4F1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#2D1E2D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #320d4f;
/* rgb */ color: rgb(50, 13, 79);
/* oklch */ color: oklch(26.3% 0.113 305.1);
Tailwind
colors: {
  custom: {
    50: '#6e5081',
    500: '#320d4f',
    950: '#000000',
  },
}
SCSS
$custom: #320d4f;
$custom-light: #6e5081;
$custom-dark: #000000;
JSON
{
  "hex": "#320d4f",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 273.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26253,
    "c": 0.11307,
    "h": 305.1
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#320D4F
secondary
#568A2E
accent
#EE3989
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #320D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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