#320C43#320C43

#320C43 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.101 H 313.0°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#320C43
RGBrgb(50, 12, 67)
HSLhsl(281, 70%, 15%)
HSVhsv(281, 82%, 26%)
CMYKcmyk(25.4%, 82.1%, 0%, 73.7%)
CIE-LABlab(11.60, 28.95, -26.08)
CIE-LCHlch(11.60, 38.96, 317.98°)
OKLaboklab(25.07% 0.0688 -0.0737)
OKLCHoklch(25.07% 0.101 313)
XYZxyz(2.4598, 1.3464, 5.4394)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C43 #1D430C
analogous
#170C43 #320C43 #430C38
triadic
#320C43 #43320C #0C4332
tetradic
#320C43 #43170C #1D430C #0C3843
square
#320C43 #43170C #1D430C #0C3843
split-complementary
#320C43 #38430C #0C4317
monochromatic
#13051A #13051A #320C43 #591577 #7F1FAB

Accessibility & contrast

On white

16.55
#320C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320C43
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C43#FFFFFF#000000##FFFFFF
##320C431.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#071F42
Tritanopia (blue-blind)
#301826
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320c43;
/* rgb */ color: rgb(50, 12, 67);
/* oklch */ color: oklch(25.1% 0.101 313.0);
Tailwind
colors: {
  custom: {
    50: '#6c4f77',
    500: '#320c43',
    950: '#000000',
  },
}
SCSS
$custom: #320c43;
$custom-light: #6c4f77;
$custom-dark: #000000;
JSON
{
  "hex": "#320c43",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 281.455,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25075,
    "c": 0.10077,
    "h": 313
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#320C43
secondary
#467F2C
accent
#EC3B72
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #320C43

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

Preview Lab → · Contrast checker → · Palette generator →

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