#320F46#320F46

#320F46 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.100 H 310.3°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#320F46
RGBrgb(50, 15, 70)
HSLhsl(278, 65%, 17%)
HSVhsv(278, 79%, 27%)
CMYKcmyk(28.6%, 78.6%, 0%, 72.5%)
CIE-LABlab(12.36, 28.23, -26.94)
CIE-LCHlch(12.36, 39.02, 316.34°)
OKLaboklab(25.7% 0.0647 -0.0762)
OKLCHoklch(25.7% 0.1 310.3)
XYZxyz(2.5915, 1.4620, 5.9388)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F46 #23460F
analogous
#170F46 #320F46 #460F3F
triadic
#320F46 #46320F #0F4632
tetradic
#320F46 #46170F #23460F #0F3F46
square
#320F46 #46170F #23460F #0F3F46
split-complementary
#320F46 #3F460F #0F4617
monochromatic
#120519 #120519 #320F46 #561A78 #7A25AB

Accessibility & contrast

On white

16.25
#320F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#320F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F46
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F46#FFFFFF#000000##FFFFFF
##320F461.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320f46;
/* rgb */ color: rgb(50, 15, 70);
/* oklch */ color: oklch(25.7% 0.100 310.3);
Tailwind
colors: {
  custom: {
    50: '#6c517a',
    500: '#320f46',
    950: '#000000',
  },
}
SCSS
$custom: #320f46;
$custom-light: #6c517a;
$custom-dark: #000000;
JSON
{
  "hex": "#320f46",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 278.182,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.257,
    "c": 0.09997,
    "h": 310.3
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#320F46
secondary
#4D8030
accent
#E8407D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #320F46

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

Preview Lab → · Contrast checker → · Palette generator →

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