#6830A7#6830A7

#6830A7 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.180 H 300.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#6830A7
RGBrgb(104, 48, 167)
HSLhsl(268, 55%, 42%)
HSVhsv(268, 71%, 65%)
CMYKcmyk(37.7%, 71.3%, 0%, 34.5%)
CIE-LABlab(33.66, 48.35, -54.37)
CIE-LCHlch(33.66, 72.76, 311.64°)
OKLaboklab(44.96% 0.0924 -0.155)
OKLCHoklch(44.96% 0.18 300.8)
XYZxyz(13.7392, 7.8469, 37.3425)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830A7 #6FA730
analogous
#3034A7 #6830A7 #A430A7
triadic
#6830A7 #A76830 #30A768
tetradic
#6830A7 #A73034 #6FA730 #30A7A4
square
#6830A7 #A73034 #6FA730 #30A7A4
split-complementary
#6830A7 #A7A430 #34A730
monochromatic
#2D1548 #4A2277 #6830A7 #8649CB #A679D8

Accessibility & contrast

On white

8.17
#6830A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6830A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830A7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830A7#FFFFFF#000000##FFFFFF
##6830A71.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#5A4D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6830a7;
/* rgb */ color: rgb(104, 48, 167);
/* oklch */ color: oklch(45.0% 0.180 300.8);
Tailwind
colors: {
  custom: {
    50: '#996dc2',
    500: '#6830a7',
    950: '#000000',
  },
}
SCSS
$custom: #6830a7;
$custom-light: #996dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6830a7",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 268.235,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.18045,
    "h": 300.8
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#6830A7
secondary
#9CC172
accent
#DF4998
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6830A7

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

Preview Lab → · Contrast checker → · Palette generator →

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