#6826A0#6826A0

#6826A0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.185 H 304.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6826A0
RGBrgb(104, 38, 160)
HSLhsl(272, 62%, 39%)
HSVhsv(272, 76%, 63%)
CMYKcmyk(35%, 76.3%, 0%, 37.3%)
CIE-LABlab(31.50, 51.17, -53.66)
CIE-LCHlch(31.50, 74.15, 313.64°)
OKLaboklab(43.26% 0.1036 -0.1529)
OKLCHoklch(43.26% 0.185 304.1)
XYZxyz(12.7457, 6.8674, 33.9050)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826A0 #5EA026
analogous
#2B26A0 #6826A0 #A0269B
triadic
#6826A0 #A06826 #26A068
tetradic
#6826A0 #A02B26 #5EA026 #269BA0
square
#6826A0 #A02B26 #5EA026 #269BA0
split-complementary
#6826A0 #9BA026 #26A02B
monochromatic
#280F3D #481A6F #6826A0 #8834CF #A566DB

Accessibility & contrast

On white

8.85
#6826A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6826A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826A0
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826A0#FFFFFF#000000##FFFFFF
##6826A01.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#5D4562
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6826a0;
/* rgb */ color: rgb(104, 38, 160);
/* oklch */ color: oklch(43.3% 0.185 304.1);
Tailwind
colors: {
  custom: {
    50: '#9867bd',
    500: '#6826a0',
    950: '#000000',
  },
}
SCSS
$custom: #6826a0;
$custom-light: #9867bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6826a0",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 272.459,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43256,
    "c": 0.18463,
    "h": 304.1
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#6826A0
secondary
#8DC061
accent
#E5438D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6826A0

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

Preview Lab → · Contrast checker → · Palette generator →

#6826A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva