#320948#320948

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

Color values

HEX#320948
RGBrgb(50, 9, 72)
HSLhsl(279, 78%, 16%)
HSVhsv(279, 88%, 28%)
CMYKcmyk(30.6%, 87.5%, 0%, 71.8%)
CIE-LABlab(11.56, 31.51, -29.64)
CIE-LCHlch(11.56, 43.26, 316.76°)
OKLaboklab(25.19% 0.0709 -0.0841)
OKLCHoklch(25.19% 0.11 310.1)
XYZxyz(2.5825, 1.3414, 6.2525)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320948 #1F4809
analogous
#120948 #320948 #48093E
triadic
#320948 #483209 #094832
tetradic
#320948 #481209 #1F4809 #093E48
square
#320948 #481209 #1F4809 #093E48
split-complementary
#320948 #3E4809 #094812
monochromatic
#13031B #13031B #320948 #58107E #7E17B5

Accessibility & contrast

On white

16.56
#320948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320948
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320948#FFFFFF#000000##FFFFFF
##3209481.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#2F1929
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320948;
/* rgb */ color: rgb(50, 9, 72);
/* oklch */ color: oklch(25.2% 0.110 310.1);
Tailwind
colors: {
  custom: {
    50: '#6d4e7b',
    500: '#320948',
    950: '#000000',
  },
}
SCSS
$custom: #320948;
$custom-light: #6d4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#320948",
  "rgb": {
    "r": 50,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 279.048,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25186,
    "c": 0.11,
    "h": 310.1
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#320948
secondary
#488527
accent
#F43477
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320948

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

Preview Lab → · Contrast checker → · Palette generator →

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