#6830A0#6830A0

#6830A0 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.173 H 302.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6830A0
RGBrgb(104, 48, 160)
HSLhsl(270, 54%, 41%)
HSVhsv(270, 70%, 63%)
CMYKcmyk(35%, 70%, 0%, 37.3%)
CIE-LABlab(33.12, 46.59, -51.02)
CIE-LCHlch(33.12, 69.10, 312.40°)
OKLaboklab(44.41% 0.0935 -0.1452)
OKLCHoklch(44.41% 0.173 302.8)
XYZxyz(13.1095, 7.5950, 34.0262)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830A0 #68A030
analogous
#3030A0 #6830A0 #A030A0
triadic
#6830A0 #A06830 #30A068
tetradic
#6830A0 #A03030 #68A030 #30A0A0
square
#6830A0 #A03030 #68A030 #30A0A0
split-complementary
#6830A0 #A0A030 #30A030
monochromatic
#2B1442 #492271 #6830A0 #8746C7 #A575D6

Accessibility & contrast

On white

8.34
#6830A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6830A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830A0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830A0#FFFFFF#000000##FFFFFF
##6830A01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#5D4A64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6830a0;
/* rgb */ color: rgb(104, 48, 160);
/* oklch */ color: oklch(44.4% 0.173 302.8);
Tailwind
colors: {
  custom: {
    50: '#986dbd',
    500: '#6830a0',
    950: '#000000',
  },
}
SCSS
$custom: #6830a0;
$custom-light: #986dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6830a0",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 270,
    "s": 53.846,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44406,
    "c": 0.17269,
    "h": 302.8
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#6830A0
secondary
#96BE6E
accent
#DD4B94
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6830A0

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

Preview Lab → · Contrast checker → · Palette generator →

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