#6827AF#6827AF

#6827AF is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.199 H 299.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6827AF
RGBrgb(104, 39, 175)
HSLhsl(269, 64%, 42%)
HSVhsv(269, 78%, 69%)
CMYKcmyk(40.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(32.90, 54.37, -60.41)
CIE-LCHlch(32.90, 81.28, 311.99°)
OKLaboklab(44.62% 0.0989 -0.1727)
OKLCHoklch(44.62% 0.199 299.8)
XYZxyz(14.1704, 7.4891, 41.2481)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827AF #6EAF27
analogous
#272AAF #6827AF #AC27AF
triadic
#6827AF #AF6827 #27AF68
tetradic
#6827AF #AF272A #6EAF27 #27AFAC
square
#6827AF #AF272A #6EAF27 #27AFAC
split-complementary
#6827AF #AFAC27 #2AAF27
monochromatic
#2D114B #4A1C7D #6827AF #863FD4 #A671DF

Accessibility & contrast

On white

8.41
#6827AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6827AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6827AF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6827AF#FFFFFF#000000##FFFFFF
##6827AF1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#574B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6827af;
/* rgb */ color: rgb(104, 39, 175);
/* oklch */ color: oklch(44.6% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#9a69c8',
    500: '#6827af',
    950: '#000000',
  },
}
SCSS
$custom: #6827af;
$custom-light: #9a69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6827af",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 268.676,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4462,
    "c": 0.19903,
    "h": 299.8
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#6827AF
secondary
#9BC66B
accent
#E74198
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6827AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6827AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva