#6830A6#6830A6

#6830A6 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.179 H 301.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6830A6
RGBrgb(104, 48, 166)
HSLhsl(268, 55%, 42%)
HSVhsv(268, 71%, 65%)
CMYKcmyk(37.3%, 71.1%, 0%, 34.9%)
CIE-LABlab(33.58, 48.10, -53.90)
CIE-LCHlch(33.58, 72.24, 311.75°)
OKLaboklab(44.88% 0.0926 -0.1536)
OKLCHoklch(44.88% 0.179 301.1)
XYZxyz(13.6471, 7.8100, 36.8575)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830A6 #6EA630
analogous
#3033A6 #6830A6 #A330A6
triadic
#6830A6 #A66830 #30A668
tetradic
#6830A6 #A63033 #6EA630 #30A6A3
square
#6830A6 #A63033 #6EA630 #30A6A3
split-complementary
#6830A6 #A6A330 #33A630
monochromatic
#2D1547 #4A2277 #6830A6 #8649CA #A678D8

Accessibility & contrast

On white

8.20
#6830A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6830A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830A6
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830A6#FFFFFF#000000##FFFFFF
##6830A61.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#5A4C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6830a6;
/* rgb */ color: rgb(104, 48, 166);
/* oklch */ color: oklch(44.9% 0.179 301.1);
Tailwind
colors: {
  custom: {
    50: '#986dc1',
    500: '#6830a6',
    950: '#000000',
  },
}
SCSS
$custom: #6830a6;
$custom-light: #986dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6830a6",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 268.475,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44878,
    "c": 0.17935,
    "h": 301.1
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#6830A6
secondary
#9BC071
accent
#DE4998
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6830A6

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

Preview Lab → · Contrast checker → · Palette generator →

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