#6830B4#6830B4

#6830B4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.195 H 297.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6830B4
RGBrgb(104, 48, 180)
HSLhsl(265, 58%, 45%)
HSVhsv(265, 73%, 71%)
CMYKcmyk(42.2%, 73.3%, 0%, 29.4%)
CIE-LABlab(34.71, 51.65, -60.43)
CIE-LCHlch(34.71, 79.50, 310.52°)
OKLaboklab(46.02% 0.0898 -0.1728)
OKLCHoklch(46.02% 0.195 297.5)
XYZxyz(15.0019, 8.3520, 43.9929)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830B4 #7CB430
analogous
#303AB4 #6830B4 #AA30B4
triadic
#6830B4 #B46830 #30B468
tetradic
#6830B4 #B4303A #7CB430 #30B4AA
square
#6830B4 #B4303A #7CB430 #30B4AA
split-complementary
#6830B4 #B4AA30 #3AB430
monochromatic
#301653 #4C2384 #6830B4 #8751D1 #A881DD

Accessibility & contrast

On white

7.86
#6830B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6830B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6830B4#FFFFFF#000000##FFFFFF
##6830B41.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#55526F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6830b4;
/* rgb */ color: rgb(104, 48, 180);
/* oklch */ color: oklch(46.0% 0.195 297.5);
Tailwind
colors: {
  custom: {
    50: '#9a6ecb',
    500: '#6830b4',
    950: '#000000',
  },
}
SCSS
$custom: #6830b4;
$custom-light: #9a6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6830b4",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 265.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.19476,
    "h": 297.5
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#6830B4
secondary
#A6C679
accent
#E147A0
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6830B4

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

Preview Lab → · Contrast checker → · Palette generator →

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