#320F55#320F55

#320F55 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.118 H 301.5°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#320F55
RGBrgb(50, 15, 85)
HSLhsl(270, 70%, 20%)
HSVhsv(270, 82%, 33%)
CMYKcmyk(41.2%, 82.4%, 0%, 66.7%)
CIE-LABlab(13.68, 32.24, -35.13)
CIE-LCHlch(13.68, 47.69, 312.54°)
OKLaboklab(27.05% 0.0614 -0.1003)
OKLCHoklch(27.05% 0.118 301.5)
XYZxyz(3.1255, 1.6756, 8.7513)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F55 #32550F
analogous
#0F0F55 #320F55 #550F55
triadic
#320F55 #55320F #0F5532
tetradic
#320F55 #550F0F #32550F #0F5555
square
#320F55 #550F0F #32550F #0F5555
split-complementary
#320F55 #55550F #0F550F
monochromatic
#0F051A #130621 #320F55 #511889 #6F21BD

Accessibility & contrast

On white

15.73
#320F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#320F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F55
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F55#FFFFFF#000000##FFFFFF
##320F551.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#2A2131
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #320f55;
/* rgb */ color: rgb(50, 15, 85);
/* oklch */ color: oklch(27.0% 0.118 301.5);
Tailwind
colors: {
  custom: {
    50: '#6e5285',
    500: '#320f55',
    950: '#000000',
  },
}
SCSS
$custom: #320f55;
$custom-light: #6e5285;
$custom-dark: #000000;
JSON
{
  "hex": "#320f55",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 270,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27046,
    "c": 0.11761,
    "h": 301.5
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#320F55
secondary
#608F31
accent
#ED3B94
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #320F55

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

Preview Lab → · Contrast checker → · Palette generator →

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