#6839B0#6839B0

#6839B0 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.179 H 297.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6839B0
RGBrgb(104, 57, 176)
HSLhsl(264, 51%, 46%)
HSVhsv(264, 68%, 69%)
CMYKcmyk(40.9%, 67.6%, 0%, 31%)
CIE-LABlab(35.99, 46.14, -55.96)
CIE-LCHlch(35.99, 72.53, 309.50°)
OKLaboklab(46.84% 0.0815 -0.1597)
OKLCHoklch(46.84% 0.179 297)
XYZxyz(15.0065, 9.0036, 42.0131)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6839B0 #81B039
analogous
#3946B0 #6839B0 #A339B0
triadic
#6839B0 #B06839 #39B068
tetradic
#6839B0 #B03946 #81B039 #39B0A3
square
#6839B0 #B03946 #81B039 #39B0A3
split-complementary
#6839B0 #B0A339 #46B039
monochromatic
#311B54 #4D2A82 #6839B0 #885CCA #A98AD9

Accessibility & contrast

On white

7.50
#6839B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6839B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6839B0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6839B0#FFFFFF#000000##FFFFFF
##6839B01.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#565570
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6839b0;
/* rgb */ color: rgb(104, 57, 176);
/* oklch */ color: oklch(46.8% 0.179 297.0);
Tailwind
colors: {
  custom: {
    50: '#9973c8',
    500: '#6839b0',
    950: '#000000',
  },
}
SCSS
$custom: #6839b0;
$custom-light: #9973c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6839b0",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 263.697,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46839,
    "c": 0.17933,
    "h": 297
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#6839B0
secondary
#A9C481
accent
#DB4DA3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6839B0

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

Preview Lab → · Contrast checker → · Palette generator →

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