#6815A1#6815A1

#6815A1 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.9% C 0.201 H 305.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6815A1
RGBrgb(104, 21, 161)
HSLhsl(276, 77%, 36%)
HSVhsv(276, 87%, 63%)
CMYKcmyk(35.4%, 87%, 0%, 36.9%)
CIE-LABlab(29.55, 57.33, -57.46)
CIE-LCHlch(29.55, 81.17, 314.94°)
OKLaboklab(41.92% 0.1161 -0.1639)
OKLCHoklch(41.92% 0.201 305.3)
XYZxyz(12.4086, 6.0527, 34.2259)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6815A1 #4EA115
analogous
#2215A1 #6815A1 #A11594
triadic
#6815A1 #A16815 #15A168
tetradic
#6815A1 #A12215 #4EA115 #1594A1
square
#6815A1 #A12215 #4EA115 #1594A1
split-complementary
#6815A1 #94A115 #15A122
monochromatic
#220735 #450E6B #6815A1 #8B1CD7 #A749E7

Accessibility & contrast

On white

9.50
#6815A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6815A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6815A1
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6815A1#FFFFFF#000000##FFFFFF
##6815A11.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#5D3E5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6815a1;
/* rgb */ color: rgb(104, 21, 161);
/* oklch */ color: oklch(41.9% 0.201 305.3);
Tailwind
colors: {
  custom: {
    50: '#9961be',
    500: '#6815a1',
    950: '#000000',
  },
}
SCSS
$custom: #6815a1;
$custom-light: #9961be;
$custom-dark: #000000;
JSON
{
  "hex": "#6815a1",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 275.571,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.20088,
    "h": 305.3
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#6815A1
secondary
#7DC849
accent
#F33482
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0512
muted
#7E7A81

Preview Lab

Preview with #6815A1

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

Preview Lab → · Contrast checker → · Palette generator →

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