#6830AC#6830AC

#6830AC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.186 H 299.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6830AC
RGBrgb(104, 48, 172)
HSLhsl(267, 56%, 43%)
HSVhsv(267, 72%, 67%)
CMYKcmyk(39.5%, 72.1%, 0%, 32.5%)
CIE-LABlab(34.06, 49.61, -56.73)
CIE-LCHlch(34.06, 75.36, 311.17°)
OKLaboklab(45.36% 0.0915 -0.1619)
OKLCHoklch(45.36% 0.186 299.5)
XYZxyz(14.2104, 8.0354, 39.8240)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830AC #74AC30
analogous
#3036AC #6830AC #A630AC
triadic
#6830AC #AC6830 #30AC68
tetradic
#6830AC #AC3036 #74AC30 #30ACA6
square
#6830AC #AC3036 #74AC30 #30ACA6
split-complementary
#6830AC #ACA630 #36AC30
monochromatic
#2E154C #4B237C #6830AC #864CCD #A77CDA

Accessibility & contrast

On white

8.05
#6830AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6830AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6830AC#FFFFFF#000000##FFFFFF
##6830AC1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#584F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6830ac;
/* rgb */ color: rgb(104, 48, 172);
/* oklch */ color: oklch(45.4% 0.186 299.5);
Tailwind
colors: {
  custom: {
    50: '#996dc6',
    500: '#6830ac',
    950: '#000000',
  },
}
SCSS
$custom: #6830ac;
$custom-light: #996dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6830ac",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 267.097,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45361,
    "c": 0.18597,
    "h": 299.5
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#6830AC
secondary
#A0C375
accent
#E0489B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6830AC

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

Preview Lab → · Contrast checker → · Palette generator →

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