#320843#320843

#320843 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.106 H 313.7°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#320843
RGBrgb(50, 8, 67)
HSLhsl(283, 79%, 15%)
HSVhsv(283, 88%, 26%)
CMYKcmyk(25.4%, 88.1%, 0%, 73.7%)
CIE-LABlab(10.97, 30.74, -27.09)
CIE-LCHlch(10.97, 40.97, 318.61°)
OKLaboklab(24.64% 0.0732 -0.0766)
OKLCHoklch(24.64% 0.106 313.7)
XYZxyz(2.4152, 1.2571, 5.4245)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320843 #194308
analogous
#150843 #320843 #430837
triadic
#320843 #433208 #084332
tetradic
#320843 #431508 #194308 #083743
square
#320843 #431508 #194308 #083743
split-complementary
#320843 #374308 #084315
monochromatic
#14031B #14031B #320843 #5B0F7A #8415B0

Accessibility & contrast

On white

16.78
#320843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#320843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320843
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320843#FFFFFF#000000##FFFFFF
##3208431.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#031E42
Tritanopia (blue-blind)
#301625
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #320843;
/* rgb */ color: rgb(50, 8, 67);
/* oklch */ color: oklch(24.6% 0.106 313.7);
Tailwind
colors: {
  custom: {
    50: '#6d4d78',
    500: '#320843',
    950: '#000000',
  },
}
SCSS
$custom: #320843;
$custom-light: #6d4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#320843",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 282.712,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24635,
    "c": 0.10593,
    "h": 313.7
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#320843
secondary
#408125
accent
#F5336B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #320843

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

Preview Lab → · Contrast checker → · Palette generator →

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