#6827A1#6827A1

#6827A1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.185 H 303.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6827A1
RGBrgb(104, 39, 161)
HSLhsl(272, 61%, 39%)
HSVhsv(272, 76%, 63%)
CMYKcmyk(35.4%, 75.8%, 0%, 36.9%)
CIE-LABlab(31.73, 50.98, -53.89)
CIE-LCHlch(31.73, 74.19, 313.41°)
OKLaboklab(43.44% 0.1024 -0.1535)
OKLCHoklch(43.44% 0.185 303.7)
XYZxyz(12.8660, 6.9673, 34.3783)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827A1 #60A127
analogous
#2B27A1 #6827A1 #A1279D
triadic
#6827A1 #A16827 #27A168
tetradic
#6827A1 #A12B27 #60A127 #279DA1
square
#6827A1 #A12B27 #60A127 #279DA1
split-complementary
#6827A1 #9DA127 #27A12B
monochromatic
#280F3E #481B70 #6827A1 #8837CE #A568DA

Accessibility & contrast

On white

8.77
#6827A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6827A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6827A1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6827A1#FFFFFF#000000##FFFFFF
##6827A11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#5D4662
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6827a1;
/* rgb */ color: rgb(104, 39, 161);
/* oklch */ color: oklch(43.4% 0.185 303.7);
Tailwind
colors: {
  custom: {
    50: '#9968be',
    500: '#6827a1',
    950: '#000000',
  },
}
SCSS
$custom: #6827a1;
$custom-light: #9968be;
$custom-dark: #000000;
JSON
{
  "hex": "#6827a1",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 271.967,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43443,
    "c": 0.18456,
    "h": 303.7
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

primary
#6827A1
secondary
#8FC063
accent
#E4448F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6827A1

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

Preview Lab → · Contrast checker → · Palette generator →

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