#6831C0#6831C0

#6831C0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.207 H 294.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6831C0
RGBrgb(104, 49, 192)
HSLhsl(263, 59%, 47%)
HSVhsv(263, 74%, 75%)
CMYKcmyk(45.8%, 74.5%, 0%, 24.7%)
CIE-LABlab(35.88, 54.29, -65.60)
CIE-LCHlch(35.88, 85.15, 309.61°)
OKLaboklab(47.16% 0.0861 -0.188)
OKLCHoklch(47.16% 0.207 294.6)
XYZxyz(16.3191, 8.9450, 50.7257)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6831C0 #89C031
analogous
#3142C0 #6831C0 #B031C0
triadic
#6831C0 #C06831 #31C068
tetradic
#6831C0 #C03142 #89C031 #31C0B0
square
#6831C0 #C03142 #89C031 #31C0B0
split-complementary
#6831C0 #C0B031 #42C031
monochromatic
#33185E #4E258F #6831C0 #8959D5 #AC8AE1

Accessibility & contrast

On white

7.53
#6831C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6831C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6831C0
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6831C0#FFFFFF#000000##FFFFFF
##6831C01.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#4F5776
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6831c0;
/* rgb */ color: rgb(104, 49, 192);
/* oklch */ color: oklch(47.2% 0.207 294.6);
Tailwind
colors: {
  custom: {
    50: '#9b6fd4',
    500: '#6831c0',
    950: '#000000',
  },
}
SCSS
$custom: #6831c0;
$custom-light: #9b6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#6831c0",
  "rgb": {
    "r": 104,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 263.077,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47161,
    "c": 0.20678,
    "h": 294.6
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#6831C0
secondary
#AFCB82
accent
#E345A6
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6831C0

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

Preview Lab → · Contrast checker → · Palette generator →

#6831C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva