#320E40#320E40

#320E40 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.095 H 314.9°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#320E40
RGBrgb(50, 14, 64)
HSLhsl(283, 64%, 15%)
HSVhsv(283, 78%, 25%)
CMYKcmyk(21.9%, 78.1%, 0%, 74.9%)
CIE-LABlab(11.71, 27.22, -23.79)
CIE-LCHlch(11.71, 36.15, 318.85°)
OKLaboklab(25.08% 0.0667 -0.0669)
OKLCHoklch(25.08% 0.095 314.9)
XYZxyz(2.3977, 1.3624, 4.9862)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320E40 #1C400E
analogous
#190E40 #320E40 #400E35
triadic
#320E40 #40320E #0E4032
tetradic
#320E40 #40190E #1C400E #0E3540
square
#320E40 #40190E #1C400E #0E3540
split-complementary
#320E40 #35400E #0E4019
monochromatic
#140519 #140519 #320E40 #591972 #8024A4

Accessibility & contrast

On white

16.50
#320E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320E40
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320E40#FFFFFF#000000##FFFFFF
##320E401.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#0C203F
Tritanopia (blue-blind)
#311825
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320e40;
/* rgb */ color: rgb(50, 14, 64);
/* oklch */ color: oklch(25.1% 0.095 314.9);
Tailwind
colors: {
  custom: {
    50: '#6c5075',
    500: '#320e40',
    950: '#000000',
  },
}
SCSS
$custom: #320e40;
$custom-light: #6c5075;
$custom-dark: #000000;
JSON
{
  "hex": "#320e40",
  "rgb": {
    "r": 50,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 283.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25077,
    "c": 0.0945,
    "h": 314.9
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#320E40
secondary
#447B2F
accent
#E7416F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320E40

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

Preview Lab → · Contrast checker → · Palette generator →

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