#321067#321067

#321067 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.138 H 293.4°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#321067
RGBrgb(50, 16, 103)
HSLhsl(263, 73%, 23%)
HSVhsv(263, 84%, 40%)
CMYKcmyk(51.5%, 84.5%, 0%, 59.6%)
CIE-LABlab(15.63, 36.82, -43.98)
CIE-LCHlch(15.63, 57.35, 309.94°)
OKLaboklab(28.95% 0.0547 -0.1262)
OKLCHoklch(28.95% 0.138 293.4)
XYZxyz(3.9482, 2.0278, 13.0127)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321067 #456710
analogous
#101A67 #321067 #5D1067
triadic
#321067 #673210 #106732
tetradic
#321067 #67101A #456710 #10675D
square
#321067 #67101A #456710 #10675D
split-complementary
#321067 #675D10 #1A6710
monochromatic
#0D041A #180832 #321067 #4C189C #6520D1

Accessibility & contrast

On white

14.94
#321067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321067
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321067#FFFFFF#000000##FFFFFF
##3210671.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#21293C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321067;
/* rgb */ color: rgb(50, 16, 103);
/* oklch */ color: oklch(29.0% 0.138 293.4);
Tailwind
colors: {
  custom: {
    50: '#715393',
    500: '#321067',
    950: '#000000',
  },
}
SCSS
$custom: #321067;
$custom-light: #715393;
$custom-dark: #000000;
JSON
{
  "hex": "#321067",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 263.448,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28954,
    "c": 0.1376,
    "h": 293.4
  },
  "luminance": 0.02028
}

Semantic roles & 50–950 ramp

primary
#321067
secondary
#759F33
accent
#F038A8
background
#F7F4F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321067

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

Preview Lab → · Contrast checker → · Palette generator →

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