#321863#321863

#321863 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.124 H 293.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#321863
RGBrgb(50, 24, 99)
HSLhsl(261, 61%, 24%)
HSVhsv(261, 76%, 39%)
CMYKcmyk(49.5%, 75.8%, 0%, 61.2%)
CIE-LABlab(16.66, 31.58, -39.65)
CIE-LCHlch(16.66, 50.69, 308.54°)
OKLaboklab(29.56% 0.0486 -0.1136)
OKLCHoklch(29.56% 0.124 293.2)
XYZxyz(3.8935, 2.2321, 12.0277)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321863 #496318
analogous
#182463 #321863 #581863
triadic
#321863 #633218 #186332
tetradic
#321863 #631824 #496318 #186358
square
#321863 #631824 #496318 #186358
split-complementary
#321863 #635818 #246318
monochromatic
#0C0619 #190C32 #321863 #4B2494 #6430C6

Accessibility & contrast

On white

14.52
#321863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#321863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321863
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321863#FFFFFF#000000##FFFFFF
##3218631.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#232B3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321863;
/* rgb */ color: rgb(50, 24, 99);
/* oklch */ color: oklch(29.6% 0.124 293.2);
Tailwind
colors: {
  custom: {
    50: '#6f5790',
    500: '#321863',
    950: '#000000',
  },
}
SCSS
$custom: #321863;
$custom-light: #6f5790;
$custom-dark: #000000;
JSON
{
  "hex": "#321863",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 260.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29555,
    "c": 0.12359,
    "h": 293.2
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#321863
secondary
#79993E
accent
#E444AC
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #321863

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

Preview Lab → · Contrast checker → · Palette generator →

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