#6830C1#6830C1

#6830C1 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.209 H 294.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6830C1
RGBrgb(104, 48, 193)
HSLhsl(263, 60%, 47%)
HSVhsv(263, 75%, 76%)
CMYKcmyk(46.1%, 75.1%, 0%, 24.3%)
CIE-LABlab(35.80, 55.00, -66.31)
CIE-LCHlch(35.80, 86.15, 309.68°)
OKLaboklab(47.14% 0.0867 -0.1901)
OKLCHoklch(47.14% 0.209 294.5)
XYZxyz(16.3889, 8.9068, 51.2974)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830C1 #89C130
analogous
#3041C1 #6830C1 #B030C1
triadic
#6830C1 #C16830 #30C168
tetradic
#6830C1 #C13041 #89C130 #30C1B0
square
#6830C1 #C13041 #89C130 #30C1B0
split-complementary
#6830C1 #C1B030 #41C130
monochromatic
#33185F #4E2490 #6830C1 #8959D6 #AC8AE2

Accessibility & contrast

On white

7.55
#6830C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6830C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6830C1#FFFFFF#000000##FFFFFF
##6830C11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#4E5777
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6830c1;
/* rgb */ color: rgb(104, 48, 193);
/* oklch */ color: oklch(47.1% 0.209 294.5);
Tailwind
colors: {
  custom: {
    50: '#9b6ed5',
    500: '#6830c1',
    950: '#000000',
  },
}
SCSS
$custom: #6830c1;
$custom-light: #9b6ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#6830c1",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 263.172,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.20891,
    "h": 294.5
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#6830C1
secondary
#AFCC81
accent
#E344A6
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6830C1

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

Preview Lab → · Contrast checker → · Palette generator →

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