#321368#321368

#321368 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.136 H 292.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#321368
RGBrgb(50, 19, 104)
HSLhsl(262, 69%, 24%)
HSVhsv(262, 82%, 41%)
CMYKcmyk(51.9%, 81.7%, 0%, 59.2%)
CIE-LABlab(16.22, 35.70, -43.67)
CIE-LCHlch(16.22, 56.40, 309.27°)
OKLaboklab(29.4% 0.052 -0.1254)
OKLCHoklch(29.4% 0.136 292.5)
XYZxyz(4.0463, 2.1432, 13.2945)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321368 #496813
analogous
#131F68 #321368 #5D1368
triadic
#321368 #683213 #136832
tetradic
#321368 #68131F #496813 #13685D
square
#321368 #68131F #496813 #13685D
split-complementary
#321368 #685D13 #1F6813
monochromatic
#0C051A #190A34 #321368 #4B1C9C #6426CF

Accessibility & contrast

On white

14.70
#321368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321368
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321368#FFFFFF#000000##FFFFFF
##3213681.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#202B3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321368;
/* rgb */ color: rgb(50, 19, 104);
/* oklch */ color: oklch(29.4% 0.136 292.5);
Tailwind
colors: {
  custom: {
    50: '#715594',
    500: '#321368',
    950: '#000000',
  },
}
SCSS
$custom: #321368;
$custom-light: #715594;
$custom-dark: #000000;
JSON
{
  "hex": "#321368",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 261.882,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29395,
    "c": 0.13571,
    "h": 292.5
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#321368
secondary
#799F37
accent
#EC3CAC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321368

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

Preview Lab → · Contrast checker → · Palette generator →

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