#6830A1#6830A1

#6830A1 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.174 H 302.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6830A1
RGBrgb(104, 48, 161)
HSLhsl(270, 54%, 41%)
HSVhsv(270, 70%, 63%)
CMYKcmyk(35.4%, 70.2%, 0%, 36.9%)
CIE-LABlab(33.20, 46.84, -51.51)
CIE-LCHlch(33.20, 69.62, 312.29°)
OKLaboklab(44.48% 0.0934 -0.1466)
OKLCHoklch(44.48% 0.174 302.5)
XYZxyz(13.1974, 7.6301, 34.4888)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830A1 #69A130
analogous
#3030A1 #6830A1 #A030A1
triadic
#6830A1 #A16830 #30A168
tetradic
#6830A1 #A13030 #69A130 #30A1A0
square
#6830A1 #A13030 #69A130 #30A1A0
split-complementary
#6830A1 #A1A030 #30A130
monochromatic
#2B1443 #4A2272 #6830A1 #8746C8 #A575D6

Accessibility & contrast

On white

8.31
#6830A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6830A1
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830A1#FFFFFF#000000##FFFFFF
##6830A11.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#5C4A65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6830a1;
/* rgb */ color: rgb(104, 48, 161);
/* oklch */ color: oklch(44.5% 0.174 302.5);
Tailwind
colors: {
  custom: {
    50: '#986dbe',
    500: '#6830a1',
    950: '#000000',
  },
}
SCSS
$custom: #6830a1;
$custom-light: #986dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6830a1",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 269.735,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.1738,
    "h": 302.5
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#6830A1
secondary
#97BE6F
accent
#DD4A95
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6830A1

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

Preview Lab → · Contrast checker → · Palette generator →

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