#6316A1#6316A1

#6316A1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.199 H 302.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#6316A1
RGBrgb(99, 22, 161)
HSLhsl(273, 76%, 36%)
HSVhsv(273, 86%, 63%)
CMYKcmyk(38.5%, 86.3%, 0%, 36.9%)
CIE-LABlab(28.90, 56.34, -58.54)
CIE-LCHlch(28.90, 81.25, 313.90°)
OKLaboklab(41.32% 0.1081 -0.1673)
OKLCHoklch(41.32% 0.199 302.9)
XYZxyz(11.8640, 5.7997, 34.2057)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6316A1 #54A116
analogous
#1D16A1 #6316A1 #A11699
triadic
#6316A1 #A16316 #16A163
tetradic
#6316A1 #A11D16 #54A116 #1699A1
square
#6316A1 #A11D16 #54A116 #1699A1
split-complementary
#6316A1 #99A116 #16A11D
monochromatic
#210735 #420F6B #6316A1 #841DD7 #A14BE6

Accessibility & contrast

On white

9.72
#6316A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6316A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6316A1
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6316A1#FFFFFF#000000##FFFFFF
##6316A11.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#563F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6316a1;
/* rgb */ color: rgb(99, 22, 161);
/* oklch */ color: oklch(41.3% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#9660be',
    500: '#6316a1',
    950: '#000000',
  },
}
SCSS
$custom: #6316a1;
$custom-light: #9660be;
$custom-dark: #000000;
JSON
{
  "hex": "#6316a1",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 273.237,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.19917,
    "h": 302.9
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#6316A1
secondary
#83C84B
accent
#F3358A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6316A1

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

Preview Lab → · Contrast checker → · Palette generator →

#6316A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva