#6815A0#6815A0

#6815A0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.8% C 0.200 H 305.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6815A0
RGBrgb(104, 21, 160)
HSLhsl(276, 77%, 35%)
HSVhsv(276, 87%, 63%)
CMYKcmyk(35%, 86.9%, 0%, 37.3%)
CIE-LABlab(29.46, 57.11, -57.00)
CIE-LCHlch(29.46, 80.69, 315.06°)
OKLaboklab(41.83% 0.1165 -0.1625)
OKLCHoklch(41.83% 0.2 305.6)
XYZxyz(12.3208, 6.0175, 33.7633)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6815A0 #4DA015
analogous
#2215A0 #6815A0 #A01593
triadic
#6815A0 #A06815 #15A068
tetradic
#6815A0 #A02215 #4DA015 #1593A0
square
#6815A0 #A02215 #4DA015 #1593A0
split-complementary
#6815A0 #93A015 #15A022
monochromatic
#220734 #450E6A #6815A0 #8B1CD6 #A748E7

Accessibility & contrast

On white

9.53
#6815A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6815A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6815A0
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6815A0#FFFFFF#000000##FFFFFF
##6815A01.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5D3E5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6815a0;
/* rgb */ color: rgb(104, 21, 160);
/* oklch */ color: oklch(41.8% 0.200 305.6);
Tailwind
colors: {
  custom: {
    50: '#9961bd',
    500: '#6815a0',
    950: '#000000',
  },
}
SCSS
$custom: #6815a0;
$custom-light: #9961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6815a0",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 275.827,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.19997,
    "h": 305.6
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#6815A0
secondary
#7CC849
accent
#F33481
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0512
muted
#7E7A81

Preview Lab

Preview with #6815A0

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

Preview Lab → · Contrast checker → · Palette generator →

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