#6833AB#6833AB

#6833AB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.181 H 299.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6833AB
RGBrgb(104, 51, 171)
HSLhsl(267, 54%, 44%)
HSVhsv(267, 70%, 67%)
CMYKcmyk(39.2%, 70.2%, 0%, 32.9%)
CIE-LABlab(34.50, 47.90, -55.41)
CIE-LCHlch(34.50, 73.24, 310.84°)
OKLaboklab(45.65% 0.0886 -0.1581)
OKLCHoklch(45.65% 0.181 299.3)
XYZxyz(14.2416, 8.2508, 39.3624)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6833AB #76AB33
analogous
#333AAB #6833AB #A433AB
triadic
#6833AB #AB6833 #33AB68
tetradic
#6833AB #AB333A #76AB33 #33ABA4
square
#6833AB #AB333A #76AB33 #33ABA4
split-complementary
#6833AB #ABA433 #3AAB33
monochromatic
#2F174D #4B257C #6833AB #8650CB #A77FD9

Accessibility & contrast

On white

7.92
#6833AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6833AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6833AB#FFFFFF#000000##FFFFFF
##6833AB1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#58506B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6833ab;
/* rgb */ color: rgb(104, 51, 171);
/* oklch */ color: oklch(45.7% 0.181 299.3);
Tailwind
colors: {
  custom: {
    50: '#996fc5',
    500: '#6833ab',
    950: '#000000',
  },
}
SCSS
$custom: #6833ab;
$custom-light: #996fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6833ab",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 266.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.18121,
    "h": 299.3
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#6833AB
secondary
#A1C278
accent
#DD4A9C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6833AB

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

Preview Lab → · Contrast checker → · Palette generator →

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