#320B46#320B46

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

Color values

HEX#320B46
RGBrgb(50, 11, 70)
HSLhsl(280, 73%, 16%)
HSVhsv(280, 84%, 27%)
CMYKcmyk(28.6%, 84.3%, 0%, 72.5%)
CIE-LABlab(11.69, 30.15, -28.04)
CIE-LCHlch(11.69, 41.18, 317.08°)
OKLaboklab(25.22% 0.0693 -0.0794)
OKLCHoklch(25.22% 0.105 311.1)
XYZxyz(2.5403, 1.3597, 5.9218)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320B46 #1F460B
analogous
#140B46 #320B46 #460B3C
triadic
#320B46 #46320B #0B4632
tetradic
#320B46 #46140B #1F460B #0B3C46
square
#320B46 #46140B #1F460B #0B3C46
split-complementary
#320B46 #3C460B #0B4614
monochromatic
#13041A #13041A #320B46 #58137B #7E1CB0

Accessibility & contrast

On white

16.51
#320B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320B46
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320B46#FFFFFF#000000##FFFFFF
##320B461.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#022045
Tritanopia (blue-blind)
#2F1928
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320b46;
/* rgb */ color: rgb(50, 11, 70);
/* oklch */ color: oklch(25.2% 0.105 311.1);
Tailwind
colors: {
  custom: {
    50: '#6d4f7a',
    500: '#320b46',
    950: '#000000',
  },
}
SCSS
$custom: #320b46;
$custom-light: #6d4f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#320b46",
  "rgb": {
    "r": 50,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 279.661,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25219,
    "c": 0.10541,
    "h": 311.1
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#320B46
secondary
#48822A
accent
#F03876
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #320B46

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

Preview Lab → · Contrast checker → · Palette generator →

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