#320F6A#320F6A

#320F6A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.142 H 292.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#320F6A
RGBrgb(50, 15, 106)
HSLhsl(263, 75%, 24%)
HSVhsv(263, 86%, 42%)
CMYKcmyk(52.8%, 85.8%, 0%, 58.4%)
CIE-LABlab(15.80, 38.10, -45.67)
CIE-LCHlch(15.80, 59.48, 309.84°)
OKLaboklab(29.17% 0.0544 -0.1312)
OKLCHoklch(29.17% 0.142 292.5)
XYZxyz(4.0870, 2.0602, 13.8152)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F6A #476A0F
analogous
#0F196A #320F6A #5F0F6A
triadic
#320F6A #6A320F #0F6A32
tetradic
#320F6A #6A0F19 #476A0F #0F6A5F
square
#320F6A #6A0F19 #476A0F #0F6A5F
split-complementary
#320F6A #6A5F0F #196A0F
monochromatic
#0D041B #190734 #320F6A #4B17A0 #651ED5

Accessibility & contrast

On white

14.87
#320F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#320F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F6A
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F6A#FFFFFF#000000##FFFFFF
##320F6A1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002668
Tritanopia (blue-blind)
#1F2A3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #320f6a;
/* rgb */ color: rgb(50, 15, 106);
/* oklch */ color: oklch(29.2% 0.142 292.5);
Tailwind
colors: {
  custom: {
    50: '#715396',
    500: '#320f6a',
    950: '#000000',
  },
}
SCSS
$custom: #320f6a;
$custom-light: #715396;
$custom-dark: #000000;
JSON
{
  "hex": "#320f6a",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 263.077,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29166,
    "c": 0.14201,
    "h": 292.5
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#320F6A
secondary
#77A232
accent
#F236AA
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #320F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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