#6830A4#6830A4

#6830A4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.177 H 301.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6830A4
RGBrgb(104, 48, 164)
HSLhsl(269, 55%, 42%)
HSVhsv(269, 71%, 64%)
CMYKcmyk(36.6%, 70.7%, 0%, 35.7%)
CIE-LABlab(33.43, 47.59, -52.94)
CIE-LCHlch(33.43, 71.19, 311.95°)
OKLaboklab(44.72% 0.0929 -0.1508)
OKLCHoklch(44.72% 0.177 301.6)
XYZxyz(13.4651, 7.7372, 35.8988)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830A4 #6CA430
analogous
#3032A4 #6830A4 #A230A4
triadic
#6830A4 #A46830 #30A468
tetradic
#6830A4 #A43032 #6CA430 #30A4A2
square
#6830A4 #A43032 #6CA430 #30A4A2
split-complementary
#6830A4 #A4A230 #32A430
monochromatic
#2C1445 #4A2275 #6830A4 #8648C9 #A677D7

Accessibility & contrast

On white

8.24
#6830A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6830A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830A4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830A4#FFFFFF#000000##FFFFFF
##6830A41.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#5B4C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6830a4;
/* rgb */ color: rgb(104, 48, 164);
/* oklch */ color: oklch(44.7% 0.177 301.6);
Tailwind
colors: {
  custom: {
    50: '#986dc0',
    500: '#6830a4',
    950: '#000000',
  },
}
SCSS
$custom: #6830a4;
$custom-light: #986dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6830a4",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 268.966,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44719,
    "c": 0.17713,
    "h": 301.6
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#6830A4
secondary
#99BF70
accent
#DE4A96
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6830A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6830A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva