#320D45#320D45

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

Color values

HEX#320D45
RGBrgb(50, 13, 69)
HSLhsl(280, 68%, 16%)
HSVhsv(280, 81%, 27%)
CMYKcmyk(27.5%, 81.2%, 0%, 72.9%)
CIE-LABlab(11.93, 28.97, -26.95)
CIE-LCHlch(11.93, 39.57, 317.07°)
OKLaboklab(25.36% 0.0673 -0.0762)
OKLCHoklch(25.36% 0.102 311.4)
XYZxyz(2.5333, 1.3957, 5.7650)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D45 #20450D
analogous
#160D45 #320D45 #450D3C
triadic
#320D45 #45320D #0D4532
tetradic
#320D45 #45160D #20450D #0D3C45
square
#320D45 #45160D #20450D #0D3C45
split-complementary
#320D45 #3C450D #0D4516
monochromatic
#13051A #13051A #320D45 #571778 #7D20AC

Accessibility & contrast

On white

16.42
#320D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320D45
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D45#FFFFFF#000000##FFFFFF
##320D451.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#052044
Tritanopia (blue-blind)
#301A28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320d45;
/* rgb */ color: rgb(50, 13, 69);
/* oklch */ color: oklch(25.4% 0.102 311.4);
Tailwind
colors: {
  custom: {
    50: '#6d5079',
    500: '#320d45',
    950: '#000000',
  },
}
SCSS
$custom: #320d45;
$custom-light: #6d5079;
$custom-dark: #000000;
JSON
{
  "hex": "#320d45",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 279.643,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25364,
    "c": 0.10166,
    "h": 311.4
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#320D45
secondary
#4A802D
accent
#EB3D78
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #320D45

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

Preview Lab → · Contrast checker → · Palette generator →

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