#320744#320744

#320744 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.6% C 0.108 H 313.2°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#320744
RGBrgb(50, 7, 68)
HSLhsl(282, 81%, 15%)
HSVhsv(282, 90%, 27%)
CMYKcmyk(26.5%, 89.7%, 0%, 73.3%)
CIE-LABlab(10.90, 31.43, -27.90)
CIE-LCHlch(10.90, 42.03, 318.40°)
OKLaboklab(24.61% 0.0741 -0.079)
OKLCHoklch(24.61% 0.108 313.2)
XYZxyz(2.4346, 1.2475, 5.5803)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320744 #194407
analogous
#140744 #320744 #440738
triadic
#320744 #443207 #074432
tetradic
#320744 #441407 #194407 #073844
square
#320744 #441407 #194407 #073844
split-complementary
#320744 #384407 #074414
monochromatic
#14031C #14031C #320744 #5B0D7B #8412B3

Accessibility & contrast

On white

16.81
#320744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320744
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320744#FFFFFF#000000##FFFFFF
##3207441.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#011E43
Tritanopia (blue-blind)
#301626
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #320744;
/* rgb */ color: rgb(50, 7, 68);
/* oklch */ color: oklch(24.6% 0.108 313.2);
Tailwind
colors: {
  custom: {
    50: '#6d4d78',
    500: '#320744',
    950: '#000000',
  },
}
SCSS
$custom: #320744;
$custom-light: #6d4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#320744",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 282.295,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24614,
    "c": 0.10826,
    "h": 313.2
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#320744
secondary
#408324
accent
#F8306B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #320744

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

Preview Lab → · Contrast checker → · Palette generator →

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