#6830A2#6830A2

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

Color values

HEX#6830A2
RGBrgb(104, 48, 162)
HSLhsl(269, 54%, 41%)
HSVhsv(269, 70%, 64%)
CMYKcmyk(35.8%, 70.4%, 0%, 36.5%)
CIE-LABlab(33.28, 47.09, -51.99)
CIE-LCHlch(33.28, 70.14, 312.17°)
OKLaboklab(44.56% 0.0932 -0.148)
OKLCHoklch(44.56% 0.175 302.2)
XYZxyz(13.2859, 7.6656, 34.9551)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830A2 #6AA230
analogous
#3031A2 #6830A2 #A130A2
triadic
#6830A2 #A26830 #30A268
tetradic
#6830A2 #A23031 #6AA230 #30A2A1
square
#6830A2 #A23031 #6AA230 #30A2A1
split-complementary
#6830A2 #A2A130 #31A230
monochromatic
#2B1444 #4A2273 #6830A2 #8647C8 #A576D6

Accessibility & contrast

On white

8.29
#6830A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6830A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830A2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830A2#FFFFFF#000000##FFFFFF
##6830A21.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#5C4B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6830a2;
/* rgb */ color: rgb(104, 48, 162);
/* oklch */ color: oklch(44.6% 0.175 302.2);
Tailwind
colors: {
  custom: {
    50: '#986dbe',
    500: '#6830a2',
    950: '#000000',
  },
}
SCSS
$custom: #6830a2;
$custom-light: #986dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6830a2",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 269.474,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.17491,
    "h": 302.2
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#6830A2
secondary
#98BE6F
accent
#DE4A95
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6830A2

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

Preview Lab → · Contrast checker → · Palette generator →

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