#6316A0#6316A0

#6316A0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.198 H 303.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6316A0
RGBrgb(99, 22, 160)
HSLhsl(273, 76%, 36%)
HSVhsv(273, 86%, 63%)
CMYKcmyk(38.1%, 86.3%, 0%, 37.3%)
CIE-LABlab(28.81, 56.12, -58.08)
CIE-LCHlch(28.81, 80.76, 314.01°)
OKLaboklab(41.23% 0.1085 -0.1659)
OKLCHoklch(41.23% 0.198 303.2)
XYZxyz(11.7762, 5.7645, 33.7431)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6316A0 #53A016
analogous
#1E16A0 #6316A0 #A01698
triadic
#6316A0 #A06316 #16A063
tetradic
#6316A0 #A01E16 #53A016 #1698A0
square
#6316A0 #A01E16 #53A016 #1698A0
split-complementary
#6316A0 #98A016 #16A01E
monochromatic
#200734 #420F6A #6316A0 #841DD6 #A14AE6

Accessibility & contrast

On white

9.75
#6316A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6316A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6316A0
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6316A0#FFFFFF#000000##FFFFFF
##6316A01.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#563F5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6316a0;
/* rgb */ color: rgb(99, 22, 160);
/* oklch */ color: oklch(41.2% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#9660bd',
    500: '#6316a0',
    950: '#000000',
  },
}
SCSS
$custom: #6316a0;
$custom-light: #9660bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6316a0",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 273.478,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41231,
    "c": 0.19823,
    "h": 303.2
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#6316A0
secondary
#82C84A
accent
#F23589
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6316A0

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

Preview Lab → · Contrast checker → · Palette generator →

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