#320849#320849

#320849 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.2% C 0.112 H 309.7°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#320849
RGBrgb(50, 8, 73)
HSLhsl(279, 80%, 16%)
HSVhsv(279, 89%, 29%)
CMYKcmyk(31.5%, 89%, 0%, 71.4%)
CIE-LABlab(11.50, 32.19, -30.43)
CIE-LCHlch(11.50, 44.30, 316.61°)
OKLaboklab(25.17% 0.0716 -0.0864)
OKLCHoklch(25.17% 0.112 309.7)
XYZxyz(2.6046, 1.3329, 6.4221)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320849 #1F4908
analogous
#110849 #320849 #49083F
triadic
#320849 #493208 #084932
tetradic
#320849 #491108 #1F4908 #083F49
square
#320849 #491108 #1F4908 #083F49
split-complementary
#320849 #3F4908 #084911
monochromatic
#13031C #13031C #320849 #580E80 #7E14B7

Accessibility & contrast

On white

16.58
#320849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#320849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320849
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320849#FFFFFF#000000##FFFFFF
##3208491.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#2F1929
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320849;
/* rgb */ color: rgb(50, 8, 73);
/* oklch */ color: oklch(25.2% 0.112 309.7);
Tailwind
colors: {
  custom: {
    50: '#6d4e7c',
    500: '#320849',
    950: '#000000',
  },
}
SCSS
$custom: #320849;
$custom-light: #6d4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#320849",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 278.769,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25174,
    "c": 0.11225,
    "h": 309.7
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#320849
secondary
#488726
accent
#F73177
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320849

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

Preview Lab → · Contrast checker → · Palette generator →

#320849 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva