#6833AF#6833AF

#6833AF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.186 H 298.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6833AF
RGBrgb(104, 51, 175)
HSLhsl(266, 55%, 44%)
HSVhsv(266, 71%, 69%)
CMYKcmyk(40.6%, 70.9%, 0%, 31.4%)
CIE-LABlab(34.81, 48.93, -57.28)
CIE-LCHlch(34.81, 75.33, 310.50°)
OKLaboklab(45.97% 0.0879 -0.1636)
OKLCHoklch(45.97% 0.186 298.2)
XYZxyz(14.6286, 8.4056, 41.4009)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6833AF #7AAF33
analogous
#333CAF #6833AF #A633AF
triadic
#6833AF #AF6833 #33AF68
tetradic
#6833AF #AF333C #7AAF33 #33AFA6
square
#6833AF #AF333C #7AAF33 #33AFA6
split-complementary
#6833AF #AFA633 #3CAF33
monochromatic
#301750 #4C2580 #6833AF #8752CD #A882DB

Accessibility & contrast

On white

7.83
#6833AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6833AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6833AF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6833AF#FFFFFF#000000##FFFFFF
##6833AF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#57516D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6833af;
/* rgb */ color: rgb(104, 51, 175);
/* oklch */ color: oklch(46.0% 0.186 298.2);
Tailwind
colors: {
  custom: {
    50: '#996fc8',
    500: '#6833af',
    950: '#000000',
  },
}
SCSS
$custom: #6833af;
$custom-light: #996fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6833af",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 265.645,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45973,
    "c": 0.18571,
    "h": 298.2
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#6833AF
secondary
#A4C47A
accent
#DE4A9F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6833AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6833AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva