#6830AA#6830AA

#6830AA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.184 H 300.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6830AA
RGBrgb(104, 48, 170)
HSLhsl(268, 56%, 43%)
HSVhsv(268, 72%, 67%)
CMYKcmyk(38.8%, 71.8%, 0%, 33.3%)
CIE-LABlab(33.90, 49.11, -55.79)
CIE-LCHlch(33.90, 74.32, 311.36°)
OKLaboklab(45.2% 0.0918 -0.1592)
OKLCHoklch(45.2% 0.184 300)
XYZxyz(14.0198, 7.9591, 38.8200)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830AA #72AA30
analogous
#3035AA #6830AA #A530AA
triadic
#6830AA #AA6830 #30AA68
tetradic
#6830AA #AA3035 #72AA30 #30AAA5
square
#6830AA #AA3035 #72AA30 #30AAA5
split-complementary
#6830AA #AAA530 #35AA30
monochromatic
#2E154B #4B237A #6830AA #864BCC #A67BDA

Accessibility & contrast

On white

8.10
#6830AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6830AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6830AA#FFFFFF#000000##FFFFFF
##6830AA1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#594E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6830aa;
/* rgb */ color: rgb(104, 48, 170);
/* oklch */ color: oklch(45.2% 0.184 300.0);
Tailwind
colors: {
  custom: {
    50: '#996dc4',
    500: '#6830aa',
    950: '#000000',
  },
}
SCSS
$custom: #6830aa;
$custom-light: #996dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6830aa",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 267.541,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.18377,
    "h": 300
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#6830AA
secondary
#9EC274
accent
#DF499A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6830AA

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

Preview Lab → · Contrast checker → · Palette generator →

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