#6833AA#6833AA

#6833AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.180 H 299.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6833AA
RGBrgb(104, 51, 170)
HSLhsl(267, 54%, 43%)
HSVhsv(267, 70%, 67%)
CMYKcmyk(38.8%, 70%, 0%, 33.3%)
CIE-LABlab(34.42, 47.64, -54.93)
CIE-LCHlch(34.42, 72.71, 310.93°)
OKLaboklab(45.57% 0.0888 -0.1567)
OKLCHoklch(45.57% 0.18 299.5)
XYZxyz(14.1466, 8.2128, 38.8623)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6833AA #75AA33
analogous
#3339AA #6833AA #A333AA
triadic
#6833AA #AA6833 #33AA68
tetradic
#6833AA #AA3339 #75AA33 #33AAA3
square
#6833AA #AA3339 #75AA33 #33AAA3
split-complementary
#6833AA #AAA333 #39AA33
monochromatic
#2E174C #4B257B #6833AA #8650CA #A77FD9

Accessibility & contrast

On white

7.95
#6833AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6833AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6833AA#FFFFFF#000000##FFFFFF
##6833AA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#59506B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6833aa;
/* rgb */ color: rgb(104, 51, 170);
/* oklch */ color: oklch(45.6% 0.180 299.5);
Tailwind
colors: {
  custom: {
    50: '#996fc4',
    500: '#6833aa',
    950: '#000000',
  },
}
SCSS
$custom: #6833aa;
$custom-light: #996fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6833aa",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 266.723,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.18008,
    "h": 299.5
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#6833AA
secondary
#A0C277
accent
#DD4B9C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6833AA

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

Preview Lab → · Contrast checker → · Palette generator →

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