#320A47#320A47

#320A47 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.2% C 0.108 H 310.6°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#320A47
RGBrgb(50, 10, 71)
HSLhsl(279, 75%, 16%)
HSVhsv(279, 86%, 28%)
CMYKcmyk(29.6%, 85.9%, 0%, 72.2%)
CIE-LABlab(11.62, 30.84, -28.84)
CIE-LCHlch(11.62, 42.22, 316.91°)
OKLaboklab(25.2% 0.0701 -0.0818)
OKLCHoklch(25.2% 0.108 310.6)
XYZxyz(2.5610, 1.3502, 6.0857)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320A47 #1F470A
analogous
#130A47 #320A47 #470A3D
triadic
#320A47 #47320A #0A4732
tetradic
#320A47 #47130A #1F470A #0A3D47
square
#320A47 #47130A #1F470A #0A3D47
split-complementary
#320A47 #3D470A #0A4713
monochromatic
#13041B #13041B #320A47 #58127D #7E19B2

Accessibility & contrast

On white

16.54
#320A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320A47
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320A47#FFFFFF#000000##FFFFFF
##320A471.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320a47;
/* rgb */ color: rgb(50, 10, 71);
/* oklch */ color: oklch(25.2% 0.108 310.6);
Tailwind
colors: {
  custom: {
    50: '#6d4e7b',
    500: '#320a47',
    950: '#000000',
  },
}
SCSS
$custom: #320a47;
$custom-light: #6d4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#320a47",
  "rgb": {
    "r": 50,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 279.344,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25201,
    "c": 0.10773,
    "h": 310.6
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#320A47
secondary
#488429
accent
#F23677
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320A47

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

Preview Lab → · Contrast checker → · Palette generator →

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