#320741#320741

#320741 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.105 H 315.3°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#320741
RGBrgb(50, 7, 65)
HSLhsl(284, 81%, 14%)
HSVhsv(284, 89%, 25%)
CMYKcmyk(23.1%, 89.2%, 0%, 74.5%)
CIE-LABlab(10.64, 30.72, -26.20)
CIE-LCHlch(10.64, 40.38, 319.54°)
OKLaboklab(24.35% 0.0748 -0.074)
OKLCHoklch(24.35% 0.105 315.3)
XYZxyz(2.3454, 1.2118, 5.1104)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320741 #164107
analogous
#150741 #320741 #410733
triadic
#320741 #413207 #074132
tetradic
#320741 #411507 #164107 #073341
square
#320741 #411507 #164107 #073341
split-complementary
#320741 #334107 #074115
monochromatic
#15031C #15031C #320741 #5D0D78 #8713B0

Accessibility & contrast

On white

16.90
#320741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#320741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320741
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320741#FFFFFF#000000##FFFFFF
##3207411.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#051E40
Tritanopia (blue-blind)
#311524
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #320741;
/* rgb */ color: rgb(50, 7, 65);
/* oklch */ color: oklch(24.3% 0.105 315.3);
Tailwind
colors: {
  custom: {
    50: '#6d4d76',
    500: '#320741',
    950: '#000000',
  },
}
SCSS
$custom: #320741;
$custom-light: #6d4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#320741",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 284.483,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2435,
    "c": 0.10518,
    "h": 315.3
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#320741
secondary
#3C8024
accent
#F73164
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #320741

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

Preview Lab → · Contrast checker → · Palette generator →

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