#321367#321367

#321367 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.135 H 292.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#321367
RGBrgb(50, 19, 103)
HSLhsl(262, 69%, 24%)
HSVhsv(262, 82%, 40%)
CMYKcmyk(51.5%, 81.6%, 0%, 59.6%)
CIE-LABlab(16.12, 35.41, -43.18)
CIE-LCHlch(16.12, 55.84, 309.36°)
OKLaboklab(29.29% 0.0523 -0.1239)
OKLCHoklch(29.29% 0.135 292.9)
XYZxyz(3.9958, 2.1230, 13.0286)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321367 #486713
analogous
#131E67 #321367 #5C1367
triadic
#321367 #673213 #136732
tetradic
#321367 #67131E #486713 #13675C
square
#321367 #67131E #486713 #13675C
split-complementary
#321367 #675C13 #1E6713
monochromatic
#0D051A #190933 #321367 #4B1D9B #6426CE

Accessibility & contrast

On white

14.74
#321367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#321367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321367
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321367#FFFFFF#000000##FFFFFF
##3213671.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321367;
/* rgb */ color: rgb(50, 19, 103);
/* oklch */ color: oklch(29.3% 0.135 292.9);
Tailwind
colors: {
  custom: {
    50: '#705593',
    500: '#321367',
    950: '#000000',
  },
}
SCSS
$custom: #321367;
$custom-light: #705593;
$custom-dark: #000000;
JSON
{
  "hex": "#321367",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 262.143,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29293,
    "c": 0.1345,
    "h": 292.9
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#321367
secondary
#789E37
accent
#EC3CAB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321367

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

Preview Lab → · Contrast checker → · Palette generator →

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