#6318A0#6318A0

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

Color values

HEX#6318A0
RGBrgb(99, 24, 160)
HSLhsl(273, 74%, 36%)
HSVhsv(273, 85%, 63%)
CMYKcmyk(38.1%, 85%, 0%, 37.3%)
CIE-LABlab(29.02, 55.51, -57.75)
CIE-LCHlch(29.02, 80.10, 313.87°)
OKLaboklab(41.37% 0.1072 -0.1649)
OKLCHoklch(41.37% 0.197 303)
XYZxyz(11.8159, 5.8440, 33.7564)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6318A0 #55A018
analogous
#1F18A0 #6318A0 #A01899
triadic
#6318A0 #A06318 #18A063
tetradic
#6318A0 #A01F18 #55A018 #1899A0
square
#6318A0 #A01F18 #55A018 #1899A0
split-complementary
#6318A0 #99A018 #18A01F
monochromatic
#210836 #42106B #6318A0 #8420D5 #A14EE4

Accessibility & contrast

On white

9.68
#6318A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6318A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6318A0
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6318A0#FFFFFF#000000##FFFFFF
##6318A01.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6318a0;
/* rgb */ color: rgb(99, 24, 160);
/* oklch */ color: oklch(41.4% 0.197 303.0);
Tailwind
colors: {
  custom: {
    50: '#9661bd',
    500: '#6318a0',
    950: '#000000',
  },
}
SCSS
$custom: #6318a0;
$custom-light: #9661bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6318a0",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 273.088,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.19673,
    "h": 303
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#6318A0
secondary
#84C64D
accent
#F1378A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6318A0

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

Preview Lab → · Contrast checker → · Palette generator →

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