#6830B0#6830B0

#6830B0 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.190 H 298.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6830B0
RGBrgb(104, 48, 176)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 73%, 69%)
CMYKcmyk(40.9%, 72.7%, 0%, 31%)
CIE-LABlab(34.38, 50.63, -58.59)
CIE-LCHlch(34.38, 77.44, 310.83°)
OKLaboklab(45.69% 0.0907 -0.1674)
OKLCHoklch(45.69% 0.19 298.4)
XYZxyz(14.6003, 8.1913, 41.8777)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830B0 #78B030
analogous
#3038B0 #6830B0 #A830B0
triadic
#6830B0 #B06830 #30B068
tetradic
#6830B0 #B03038 #78B030 #30B0A8
square
#6830B0 #B03038 #78B030 #30B0A8
split-complementary
#6830B0 #B0A830 #38B030
monochromatic
#2F1650 #4C2380 #6830B0 #874ECF #A77EDC

Accessibility & contrast

On white

7.96
#6830B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6830B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6830B0#FFFFFF#000000##FFFFFF
##6830B01.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#56506D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6830b0;
/* rgb */ color: rgb(104, 48, 176);
/* oklch */ color: oklch(45.7% 0.190 298.4);
Tailwind
colors: {
  custom: {
    50: '#996dc9',
    500: '#6830b0',
    950: '#000000',
  },
}
SCSS
$custom: #6830b0;
$custom-light: #996dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6830b0",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 266.25,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.19038,
    "h": 298.4
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#6830B0
secondary
#A3C577
accent
#E0479D
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6830B0

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

Preview Lab → · Contrast checker → · Palette generator →

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