#6317A0#6317A0

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

Color values

HEX#6317A0
RGBrgb(99, 23, 160)
HSLhsl(273, 75%, 36%)
HSVhsv(273, 86%, 63%)
CMYKcmyk(38.1%, 85.6%, 0%, 37.3%)
CIE-LABlab(28.91, 55.82, -57.92)
CIE-LCHlch(28.91, 80.44, 313.94°)
OKLaboklab(41.3% 0.1079 -0.1654)
OKLCHoklch(41.3% 0.197 303.1)
XYZxyz(11.7956, 5.8035, 33.7496)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6317A0 #54A017
analogous
#1F17A0 #6317A0 #A01798
triadic
#6317A0 #A06317 #17A063
tetradic
#6317A0 #A01F17 #54A017 #1798A0
square
#6317A0 #A01F17 #54A017 #1798A0
split-complementary
#6317A0 #98A017 #17A01F
monochromatic
#210835 #420F6A #6317A0 #841FD6 #A14CE5

Accessibility & contrast

On white

9.72
#6317A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6317A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6317A0
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6317A0#FFFFFF#000000##FFFFFF
##6317A01.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)
#0043A4
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#563F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6317a0;
/* rgb */ color: rgb(99, 23, 160);
/* oklch */ color: oklch(41.3% 0.197 303.1);
Tailwind
colors: {
  custom: {
    50: '#9660bd',
    500: '#6317a0',
    950: '#000000',
  },
}
SCSS
$custom: #6317a0;
$custom-light: #9660bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6317a0",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 273.285,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.413,
    "c": 0.19749,
    "h": 303.1
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#6317A0
secondary
#83C74C
accent
#F1368A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6317A0

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

Preview Lab → · Contrast checker → · Palette generator →

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