#6830AB#6830AB

#6830AB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.185 H 299.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6830AB
RGBrgb(104, 48, 171)
HSLhsl(267, 56%, 43%)
HSVhsv(267, 72%, 67%)
CMYKcmyk(39.2%, 71.9%, 0%, 32.9%)
CIE-LABlab(33.98, 49.36, -56.26)
CIE-LCHlch(33.98, 74.84, 311.26°)
OKLaboklab(45.28% 0.0917 -0.1606)
OKLCHoklch(45.28% 0.185 299.7)
XYZxyz(14.1147, 7.9971, 39.3201)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830AB #73AB30
analogous
#3036AB #6830AB #A530AB
triadic
#6830AB #AB6830 #30AB68
tetradic
#6830AB #AB3036 #73AB30 #30ABA5
square
#6830AB #AB3036 #73AB30 #30ABA5
split-complementary
#6830AB #ABA530 #36AB30
monochromatic
#2E154B #4B237B #6830AB #864CCD #A67BDA

Accessibility & contrast

On white

8.08
#6830AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6830AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6830AB#FFFFFF#000000##FFFFFF
##6830AB1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6830ab;
/* rgb */ color: rgb(104, 48, 171);
/* oklch */ color: oklch(45.3% 0.185 299.7);
Tailwind
colors: {
  custom: {
    50: '#996dc5',
    500: '#6830ab',
    950: '#000000',
  },
}
SCSS
$custom: #6830ab;
$custom-light: #996dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6830ab",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 267.317,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.18488,
    "h": 299.7
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#6830AB
secondary
#9FC374
accent
#DF489B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6830AB

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

Preview Lab → · Contrast checker → · Palette generator →

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