#320E4D#320E4D

#320E4D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.110 H 306.1°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#320E4D
RGBrgb(50, 14, 77)
HSLhsl(274, 69%, 18%)
HSVhsv(274, 82%, 30%)
CMYKcmyk(35.1%, 81.8%, 0%, 69.8%)
CIE-LABlab(12.79, 30.56, -31.12)
CIE-LCHlch(12.79, 43.62, 314.48°)
OKLaboklab(26.19% 0.0645 -0.0885)
OKLCHoklch(26.19% 0.11 306.1)
XYZxyz(2.8117, 1.5280, 7.1666)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320E4D #294D0E
analogous
#130E4D #320E4D #4D0E48
triadic
#320E4D #4D320E #0E4D32
tetradic
#320E4D #4D130E #294D0E #0E484D
square
#320E4D #4D130E #294D0E #0E484D
split-complementary
#320E4D #484D0E #0E4D13
monochromatic
#11051A #11051A #320E4D #541781 #7521B5

Accessibility & contrast

On white

16.08
#320E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#320E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320E4D
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320E4D#FFFFFF#000000##FFFFFF
##320E4D1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#2D1D2D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #320e4d;
/* rgb */ color: rgb(50, 14, 77);
/* oklch */ color: oklch(26.2% 0.110 306.1);
Tailwind
colors: {
  custom: {
    50: '#6d517f',
    500: '#320e4d',
    950: '#000000',
  },
}
SCSS
$custom: #320e4d;
$custom-light: #6d517f;
$custom-dark: #000000;
JSON
{
  "hex": "#320e4d",
  "rgb": {
    "r": 50,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 274.286,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26186,
    "c": 0.10951,
    "h": 306.1
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#320E4D
secondary
#55882F
accent
#EC3C87
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #320E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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