#6813B4#6813B4

#6813B4 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.5% C 0.219 H 300.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6813B4
RGBrgb(104, 19, 180)
HSLhsl(272, 81%, 39%)
HSVhsv(272, 89%, 71%)
CMYKcmyk(42.2%, 89.4%, 0%, 29.4%)
CIE-LABlab(31.12, 62.06, -66.30)
CIE-LCHlch(31.12, 90.81, 313.11°)
OKLaboklab(43.53% 0.1101 -0.1898)
OKLCHoklch(43.53% 0.219 300.1)
XYZxyz(14.1779, 6.7039, 43.7182)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6813B4 #5FB413
analogous
#1713B4 #6813B4 #B413B0
triadic
#6813B4 #B46813 #13B468
tetradic
#6813B4 #B41713 #5FB413 #13B0B4
square
#6813B4 #B41713 #5FB413 #13B0B4
split-complementary
#6813B4 #B0B413 #13B417
monochromatic
#280745 #480D7D #6813B4 #881DE7 #A554ED

Accessibility & contrast

On white

8.97
#6813B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6813B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6813B4
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6813B4#FFFFFF#000000##FFFFFF
##6813B41.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#55476A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6813b4;
/* rgb */ color: rgb(104, 19, 180);
/* oklch */ color: oklch(43.5% 0.219 300.1);
Tailwind
colors: {
  custom: {
    50: '#9b61cc',
    500: '#6813b4',
    950: '#000000',
  },
}
SCSS
$custom: #6813b4;
$custom-light: #9b61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6813b4",
  "rgb": {
    "r": 104,
    "g": 19,
    "b": 180
  },
  "hsl": {
    "h": 271.677,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43533,
    "c": 0.21944,
    "h": 300.1
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#6813B4
secondary
#8ECF53
accent
#F7308E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6813B4

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

Preview Lab → · Contrast checker → · Palette generator →

#6813B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva