#321068#321068

#321068 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.1% C 0.139 H 293.1°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#321068
RGBrgb(50, 16, 104)
HSLhsl(263, 73%, 24%)
HSVhsv(263, 85%, 41%)
CMYKcmyk(51.9%, 84.6%, 0%, 59.2%)
CIE-LABlab(15.74, 37.10, -44.46)
CIE-LCHlch(15.74, 57.91, 309.84°)
OKLaboklab(29.06% 0.0544 -0.1277)
OKLCHoklch(29.06% 0.139 293.1)
XYZxyz(3.9987, 2.0480, 13.2786)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321068 #466810
analogous
#101A68 #321068 #5E1068
triadic
#321068 #683210 #106832
tetradic
#321068 #68101A #466810 #10685E
square
#321068 #68101A #466810 #10685E
split-complementary
#321068 #685E10 #1A6810
monochromatic
#0D041B #180833 #321068 #4B189D #6520D2

Accessibility & contrast

On white

14.90
#321068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321068
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321068#FFFFFF#000000##FFFFFF
##3210681.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#212A3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321068;
/* rgb */ color: rgb(50, 16, 104);
/* oklch */ color: oklch(29.1% 0.139 293.1);
Tailwind
colors: {
  custom: {
    50: '#715394',
    500: '#321068',
    950: '#000000',
  },
}
SCSS
$custom: #321068;
$custom-light: #715394;
$custom-dark: #000000;
JSON
{
  "hex": "#321068",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 263.182,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29059,
    "c": 0.13876,
    "h": 293.1
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#321068
secondary
#76A034
accent
#F038A9
background
#F7F4F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321068

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

Preview Lab → · Contrast checker → · Palette generator →

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