#320F53#320F53

#320F53 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.9% C 0.115 H 302.5°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#320F53
RGBrgb(50, 15, 83)
HSLhsl(271, 69%, 19%)
HSVhsv(271, 82%, 33%)
CMYKcmyk(39.8%, 81.9%, 0%, 67.5%)
CIE-LABlab(13.50, 31.69, -34.08)
CIE-LCHlch(13.50, 46.54, 312.93°)
OKLaboklab(26.86% 0.062 -0.0972)
OKLCHoklch(26.86% 0.115 302.5)
XYZxyz(3.0472, 1.6443, 8.3388)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F53 #30530F
analogous
#100F53 #320F53 #530F52
triadic
#320F53 #53320F #0F5332
tetradic
#320F53 #53100F #30530F #0F5253
square
#320F53 #53100F #30530F #0F5253
split-complementary
#320F53 #52530F #0F5310
monochromatic
#10051A #13061F #320F53 #511887 #7022BB

Accessibility & contrast

On white

15.80
#320F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#320F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F53
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F53#FFFFFF#000000##FFFFFF
##320F531.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#2B2030
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #320f53;
/* rgb */ color: rgb(50, 15, 83);
/* oklch */ color: oklch(26.9% 0.115 302.5);
Tailwind
colors: {
  custom: {
    50: '#6e5184',
    500: '#320f53',
    950: '#000000',
  },
}
SCSS
$custom: #320f53;
$custom-light: #6e5184;
$custom-dark: #000000;
JSON
{
  "hex": "#320f53",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 270.882,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26858,
    "c": 0.11526,
    "h": 302.5
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#320F53
secondary
#5E8D31
accent
#EC3C91
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #320F53

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

Preview Lab → · Contrast checker → · Palette generator →

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