#321673#321673

#321673 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.146 H 288.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#321673
RGBrgb(50, 22, 115)
HSLhsl(258, 68%, 27%)
HSVhsv(258, 81%, 45%)
CMYKcmyk(56.5%, 80.9%, 0%, 54.9%)
CIE-LABlab(17.87, 37.47, -48.12)
CIE-LCHlch(17.87, 60.99, 307.91°)
OKLaboklab(30.89% 0.046 -0.1384)
OKLCHoklch(30.89% 0.146 288.4)
XYZxyz(4.6959, 2.4895, 16.4494)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321673 #577316
analogous
#162873 #321673 #611673
triadic
#321673 #733216 #167332
tetradic
#321673 #731628 #577316 #167361
square
#321673 #731628 #577316 #167361
split-complementary
#321673 #736116 #287316
monochromatic
#0B051A #1C0C40 #321673 #4820A6 #602DD7

Accessibility & contrast

On white

14.02
#321673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#321673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321673
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321673#FFFFFF#000000##FFFFFF
##3216731.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#173144
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321673;
/* rgb */ color: rgb(50, 22, 115);
/* oklch */ color: oklch(30.9% 0.146 288.4);
Tailwind
colors: {
  custom: {
    50: '#72579c',
    500: '#321673',
    950: '#000000',
  },
}
SCSS
$custom: #321673;
$custom-light: #72579c;
$custom-dark: #000000;
JSON
{
  "hex": "#321673",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 258.065,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30891,
    "c": 0.14588,
    "h": 288.4
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#321673
secondary
#88A93C
accent
#EB3DB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321673

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

Preview Lab → · Contrast checker → · Palette generator →

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