#6830A5#6830A5

#6830A5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.178 H 301.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6830A5
RGBrgb(104, 48, 165)
HSLhsl(269, 55%, 42%)
HSVhsv(269, 71%, 65%)
CMYKcmyk(37%, 70.9%, 0%, 35.3%)
CIE-LABlab(33.51, 47.84, -53.42)
CIE-LCHlch(33.51, 71.71, 311.85°)
OKLaboklab(44.8% 0.0927 -0.1522)
OKLCHoklch(44.8% 0.178 301.3)
XYZxyz(13.5558, 7.7735, 36.3763)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830A5 #6DA530
analogous
#3032A5 #6830A5 #A330A5
triadic
#6830A5 #A56830 #30A568
tetradic
#6830A5 #A53032 #6DA530 #30A5A3
square
#6830A5 #A53032 #6DA530 #30A5A3
split-complementary
#6830A5 #A5A330 #32A530
monochromatic
#2C1446 #4A2276 #6830A5 #8648CA #A678D8

Accessibility & contrast

On white

8.22
#6830A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6830A5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830A5#FFFFFF#000000##FFFFFF
##6830A51.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#5B4C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6830a5;
/* rgb */ color: rgb(104, 48, 165);
/* oklch */ color: oklch(44.8% 0.178 301.3);
Tailwind
colors: {
  custom: {
    50: '#986dc0',
    500: '#6830a5',
    950: '#000000',
  },
}
SCSS
$custom: #6830a5;
$custom-light: #986dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6830a5",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 268.718,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.17824,
    "h": 301.3
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#6830A5
secondary
#9AC071
accent
#DE4A97
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6830A5

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

Preview Lab → · Contrast checker → · Palette generator →

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