#6827A8#6827A8

#6827A8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.192 H 301.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6827A8
RGBrgb(104, 39, 168)
HSLhsl(270, 62%, 41%)
HSVhsv(270, 77%, 66%)
CMYKcmyk(38.1%, 76.8%, 0%, 34.1%)
CIE-LABlab(32.31, 52.67, -57.18)
CIE-LCHlch(32.31, 77.74, 312.65°)
OKLaboklab(44.02% 0.1008 -0.1632)
OKLCHoklch(44.02% 0.192 301.7)
XYZxyz(13.5006, 7.2212, 37.7208)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827A8 #67A827
analogous
#2827A8 #6827A8 #A827A7
triadic
#6827A8 #A86827 #27A868
tetradic
#6827A8 #A82827 #67A827 #27A7A8
square
#6827A8 #A82827 #67A827 #27A7A8
split-complementary
#6827A8 #A7A827 #27A828
monochromatic
#2B1045 #491B76 #6827A8 #873BD1 #A56CDD

Accessibility & contrast

On white

8.59
#6827A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6827A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6827A8
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6827A8#FFFFFF#000000##FFFFFF
##6827A81.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#5A4966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6827a8;
/* rgb */ color: rgb(104, 39, 168);
/* oklch */ color: oklch(44.0% 0.192 301.7);
Tailwind
colors: {
  custom: {
    50: '#9968c3',
    500: '#6827a8',
    950: '#000000',
  },
}
SCSS
$custom: #6827a8;
$custom-light: #9968c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6827a8",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 270.233,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.1918,
    "h": 301.7
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#6827A8
secondary
#95C367
accent
#E54293
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6827A8

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

Preview Lab → · Contrast checker → · Palette generator →

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