#6317A1#6317A1

#6317A1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.4% C 0.198 H 302.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6317A1
RGBrgb(99, 23, 161)
HSLhsl(273, 75%, 36%)
HSVhsv(273, 86%, 63%)
CMYKcmyk(38.5%, 85.7%, 0%, 36.9%)
CIE-LABlab(29.00, 56.05, -58.38)
CIE-LCHlch(29.00, 80.93, 313.83°)
OKLaboklab(41.39% 0.1075 -0.1668)
OKLCHoklch(41.39% 0.198 302.8)
XYZxyz(11.8835, 5.8386, 34.2122)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6317A1 #55A117
analogous
#1E17A1 #6317A1 #A1179A
triadic
#6317A1 #A16317 #17A163
tetradic
#6317A1 #A11E17 #55A117 #179AA1
square
#6317A1 #A11E17 #55A117 #179AA1
split-complementary
#6317A1 #9AA117 #17A11E
monochromatic
#210836 #420F6B #6317A1 #841FD7 #A14DE6

Accessibility & contrast

On white

9.69
#6317A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6317A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6317A1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6317A1#FFFFFF#000000##FFFFFF
##6317A11.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6317a1;
/* rgb */ color: rgb(99, 23, 161);
/* oklch */ color: oklch(41.4% 0.198 302.8);
Tailwind
colors: {
  custom: {
    50: '#9661be',
    500: '#6317a1',
    950: '#000000',
  },
}
SCSS
$custom: #6317a1;
$custom-light: #9661be;
$custom-dark: #000000;
JSON
{
  "hex": "#6317a1",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 273.043,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4139,
    "c": 0.19843,
    "h": 302.8
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#6317A1
secondary
#84C74C
accent
#F2368A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6317A1

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

Preview Lab → · Contrast checker → · Palette generator →

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