#320F50#320F50

#320F50 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.112 H 304.2°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#320F50
RGBrgb(50, 15, 80)
HSLhsl(272, 68%, 19%)
HSVhsv(272, 81%, 31%)
CMYKcmyk(37.5%, 81.3%, 0%, 68.6%)
CIE-LABlab(13.22, 30.88, -32.47)
CIE-LCHlch(13.22, 44.81, 313.56°)
OKLaboklab(26.58% 0.0627 -0.0925)
OKLCHoklch(26.58% 0.112 304.2)
XYZxyz(2.9339, 1.5990, 7.7419)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F50 #2D500F
analogous
#110F50 #320F50 #500F4D
triadic
#320F50 #50320F #0F5032
tetradic
#320F50 #50110F #2D500F #0F4D50
square
#320F50 #50110F #2D500F #0F4D50
split-complementary
#320F50 #4D500F #0F5011
monochromatic
#10051A #12051C #320F50 #521984 #7222B7

Accessibility & contrast

On white

15.91
#320F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#320F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F50
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F50#FFFFFF#000000##FFFFFF
##320F501.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#2C1F2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #320f50;
/* rgb */ color: rgb(50, 15, 80);
/* oklch */ color: oklch(26.6% 0.112 304.2);
Tailwind
colors: {
  custom: {
    50: '#6d5182',
    500: '#320f50',
    950: '#000000',
  },
}
SCSS
$custom: #320f50;
$custom-light: #6d5182;
$custom-dark: #000000;
JSON
{
  "hex": "#320f50",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 272.308,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2658,
    "c": 0.11174,
    "h": 304.2
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#320F50
secondary
#5A8A31
accent
#EB3D8D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #320F50

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

Preview Lab → · Contrast checker → · Palette generator →

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