#320F47#320F47

#320F47 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.101 H 309.6°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#320F47
RGBrgb(50, 15, 71)
HSLhsl(278, 65%, 17%)
HSVhsv(278, 79%, 28%)
CMYKcmyk(29.6%, 78.9%, 0%, 72.2%)
CIE-LABlab(12.45, 28.49, -27.51)
CIE-LCHlch(12.45, 39.60, 316.00°)
OKLaboklab(25.78% 0.0645 -0.0779)
OKLCHoklch(25.78% 0.101 309.6)
XYZxyz(2.6233, 1.4747, 6.1065)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F47 #24470F
analogous
#160F47 #320F47 #470F40
triadic
#320F47 #47320F #0F4732
tetradic
#320F47 #47160F #24470F #0F4047
square
#320F47 #47160F #24470F #0F4047
split-complementary
#320F47 #40470F #0F4716
monochromatic
#120519 #120519 #320F47 #561A7A #7924AC

Accessibility & contrast

On white

16.22
#320F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#320F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F47
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F47#FFFFFF#000000##FFFFFF
##320F471.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#052146
Tritanopia (blue-blind)
#2F1B29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #320f47;
/* rgb */ color: rgb(50, 15, 71);
/* oklch */ color: oklch(25.8% 0.101 309.6);
Tailwind
colors: {
  custom: {
    50: '#6d517b',
    500: '#320f47',
    950: '#000000',
  },
}
SCSS
$custom: #320f47;
$custom-light: #6d517b;
$custom-dark: #000000;
JSON
{
  "hex": "#320f47",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 277.5,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25784,
    "c": 0.10115,
    "h": 309.6
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#320F47
secondary
#4F8130
accent
#E8407F
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320F47

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

Preview Lab → · Contrast checker → · Palette generator →

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