#6321B0#6321B0

#6321B0 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.205 H 297.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6321B0
RGBrgb(99, 33, 176)
HSLhsl(268, 68%, 41%)
HSVhsv(268, 81%, 69%)
CMYKcmyk(43.8%, 81.3%, 0%, 31%)
CIE-LABlab(31.52, 56.20, -63.29)
CIE-LCHlch(31.52, 84.64, 311.61°)
OKLaboklab(43.55% 0.0958 -0.1813)
OKLCHoklch(43.55% 0.205 297.9)
XYZxyz(13.5239, 6.8747, 41.6803)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6321B0 #6EB021
analogous
#2127B0 #6321B0 #AA21B0
triadic
#6321B0 #B06321 #21B063
tetradic
#6321B0 #B02127 #6EB021 #21B0AA
square
#6321B0 #B02127 #6EB021 #21B0AA
split-complementary
#6321B0 #B0AA21 #27B021
monochromatic
#290E49 #46177C #6321B0 #8135D9 #A169E3

Accessibility & contrast

On white

8.84
#6321B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6321B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6321B0
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6321B0#FFFFFF#000000##FFFFFF
##6321B01.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#4F4A6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6321b0;
/* rgb */ color: rgb(99, 33, 176);
/* oklch */ color: oklch(43.5% 0.205 297.9);
Tailwind
colors: {
  custom: {
    50: '#9765c9',
    500: '#6321b0',
    950: '#000000',
  },
}
SCSS
$custom: #6321b0;
$custom-light: #9765c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6321b0",
  "rgb": {
    "r": 99,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 267.692,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.20501,
    "h": 297.9
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#6321B0
secondary
#9AC864
accent
#EB3D9B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6321B0

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

Preview Lab → · Contrast checker → · Palette generator →

#6321B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva