#321563#321563

#321563 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.127 H 293.9°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#321563
RGBrgb(50, 21, 99)
HSLhsl(262, 65%, 24%)
HSVhsv(262, 79%, 39%)
CMYKcmyk(49.5%, 78.8%, 0%, 61.2%)
CIE-LABlab(16.08, 33.22, -40.60)
CIE-LCHlch(16.08, 52.46, 309.29°)
OKLaboklab(29.15% 0.0516 -0.1164)
OKLCHoklch(29.15% 0.127 293.9)
XYZxyz(3.8351, 2.1152, 12.0082)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321563 #466315
analogous
#151F63 #321563 #591563
triadic
#321563 #633215 #156332
tetradic
#321563 #63151F #466315 #156359
square
#321563 #63151F #466315 #156359
split-complementary
#321563 #635915 #1F6315
monochromatic
#0D0519 #180A31 #321563 #4B2095 #652AC8

Accessibility & contrast

On white

14.76
#321563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321563
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321563#FFFFFF#000000##FFFFFF
##3215631.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#232A3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321563;
/* rgb */ color: rgb(50, 21, 99);
/* oklch */ color: oklch(29.1% 0.127 293.9);
Tailwind
colors: {
  custom: {
    50: '#705690',
    500: '#321563',
    950: '#000000',
  },
}
SCSS
$custom: #321563;
$custom-light: #705690;
$custom-dark: #000000;
JSON
{
  "hex": "#321563",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 262.308,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29145,
    "c": 0.12733,
    "h": 293.9
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#321563
secondary
#769A3A
accent
#E840A9
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #321563

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

Preview Lab → · Contrast checker → · Palette generator →

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