#321467#321467

#321467 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.133 H 292.7°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#321467
RGBrgb(50, 20, 103)
HSLhsl(262, 67%, 24%)
HSVhsv(262, 81%, 40%)
CMYKcmyk(51.5%, 80.6%, 0%, 59.6%)
CIE-LABlab(16.29, 34.91, -42.89)
CIE-LCHlch(16.29, 55.30, 309.14°)
OKLaboklab(29.42% 0.0514 -0.1231)
OKLCHoklch(29.42% 0.133 292.7)
XYZxyz(4.0130, 2.1576, 13.0343)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321467 #496714
analogous
#141F67 #321467 #5C1467
triadic
#321467 #673214 #146732
tetradic
#321467 #67141F #496714 #14675C
square
#321467 #67141F #496714 #14675C
split-complementary
#321467 #675C14 #1F6714
monochromatic
#0C051A #190A34 #321467 #4B1E9A #6428CD

Accessibility & contrast

On white

14.67
#321467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#321467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321467
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321467#FFFFFF#000000##FFFFFF
##3214671.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#212B3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321467;
/* rgb */ color: rgb(50, 20, 103);
/* oklch */ color: oklch(29.4% 0.133 292.7);
Tailwind
colors: {
  custom: {
    50: '#705593',
    500: '#321467',
    950: '#000000',
  },
}
SCSS
$custom: #321467;
$custom-light: #705593;
$custom-dark: #000000;
JSON
{
  "hex": "#321467",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 261.687,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29415,
    "c": 0.1334,
    "h": 292.7
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#321467
secondary
#799E39
accent
#EA3DAC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321467

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

Preview Lab → · Contrast checker → · Palette generator →

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