#320B4F#320B4F

#320B4F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.115 H 305.5°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#320B4F
RGBrgb(50, 11, 79)
HSLhsl(274, 76%, 18%)
HSVhsv(274, 86%, 31%)
CMYKcmyk(36.7%, 86.1%, 0%, 69%)
CIE-LABlab(12.49, 32.45, -32.97)
CIE-LCHlch(12.49, 46.26, 314.54°)
OKLaboklab(26.04% 0.067 -0.0939)
OKLCHoklch(26.04% 0.115 305.5)
XYZxyz(2.8460, 1.4820, 7.5317)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320B4F #284F0B
analogous
#100B4F #320B4F #4F0B4A
triadic
#320B4F #4F320B #0B4F32
tetradic
#320B4F #4F100B #284F0B #0B4A4F
square
#320B4F #4F100B #284F0B #0B4A4F
split-complementary
#320B4F #4A4F0B #0B4F10
monochromatic
#11041B #11041B #320B4F #541285 #761ABA

Accessibility & contrast

On white

16.20
#320B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#320B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320B4F
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320B4F#FFFFFF#000000##FFFFFF
##320B4F1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#2D1D2D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #320b4f;
/* rgb */ color: rgb(50, 11, 79);
/* oklch */ color: oklch(26.0% 0.115 305.5);
Tailwind
colors: {
  custom: {
    50: '#6e4f81',
    500: '#320b4f',
    950: '#000000',
  },
}
SCSS
$custom: #320b4f;
$custom-light: #6e4f81;
$custom-dark: #000000;
JSON
{
  "hex": "#320b4f",
  "rgb": {
    "r": 50,
    "g": 11,
    "b": 79
  },
  "hsl": {
    "h": 274.412,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26038,
    "c": 0.11538,
    "h": 305.5
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#320B4F
secondary
#548B2B
accent
#F23686
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #320B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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