#6830A3#6830A3

#6830A3 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.176 H 301.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6830A3
RGBrgb(104, 48, 163)
HSLhsl(269, 55%, 41%)
HSVhsv(269, 71%, 64%)
CMYKcmyk(36.2%, 70.6%, 0%, 36.1%)
CIE-LABlab(33.35, 47.34, -52.47)
CIE-LCHlch(33.35, 70.67, 312.06°)
OKLaboklab(44.64% 0.0931 -0.1494)
OKLCHoklch(44.64% 0.176 301.9)
XYZxyz(13.3752, 7.7013, 35.4251)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830A3 #6BA330
analogous
#3032A3 #6830A3 #A230A3
triadic
#6830A3 #A36830 #30A368
tetradic
#6830A3 #A33032 #6BA330 #30A3A2
square
#6830A3 #A33032 #6BA330 #30A3A2
split-complementary
#6830A3 #A3A230 #32A330
monochromatic
#2C1444 #4A2274 #6830A3 #8647C9 #A577D7

Accessibility & contrast

On white

8.27
#6830A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6830A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830A3
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830A3#FFFFFF#000000##FFFFFF
##6830A31.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#5C4B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6830a3;
/* rgb */ color: rgb(104, 48, 163);
/* oklch */ color: oklch(44.6% 0.176 301.9);
Tailwind
colors: {
  custom: {
    50: '#986dbf',
    500: '#6830a3',
    950: '#000000',
  },
}
SCSS
$custom: #6830a3;
$custom-light: #986dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6830a3",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 269.217,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.17602,
    "h": 301.9
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6830A3

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

Preview Lab → · Contrast checker → · Palette generator →

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