#321167#321167

#321167 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.137 H 293.3°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#321167
RGBrgb(50, 17, 103)
HSLhsl(263, 72%, 24%)
HSVhsv(263, 83%, 40%)
CMYKcmyk(51.5%, 83.5%, 0%, 59.6%)
CIE-LABlab(15.79, 36.36, -43.72)
CIE-LCHlch(15.79, 56.86, 309.75°)
OKLaboklab(29.06% 0.054 -0.1255)
OKLCHoklch(29.06% 0.137 293.3)
XYZxyz(3.9633, 2.0581, 13.0178)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321167 #466711
analogous
#111B67 #321167 #5D1167
triadic
#321167 #673211 #116732
tetradic
#321167 #67111B #466711 #11675D
square
#321167 #67111B #466711 #11675D
split-complementary
#321167 #675D11 #1B6711
monochromatic
#0D041A #180832 #321167 #4B1A9C #6522D0

Accessibility & contrast

On white

14.88
#321167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#321167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321167
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321167#FFFFFF#000000##FFFFFF
##3211671.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#212A3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321167;
/* rgb */ color: rgb(50, 17, 103);
/* oklch */ color: oklch(29.1% 0.137 293.3);
Tailwind
colors: {
  custom: {
    50: '#715493',
    500: '#321167',
    950: '#000000',
  },
}
SCSS
$custom: #321167;
$custom-light: #715493;
$custom-dark: #000000;
JSON
{
  "hex": "#321167",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 263.023,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29063,
    "c": 0.1366,
    "h": 293.3
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#321167
secondary
#769F35
accent
#EE39A9
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321167

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

Preview Lab → · Contrast checker → · Palette generator →

#321167 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva