#6826AF#6826AF

#6826AF is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.200 H 299.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6826AF
RGBrgb(104, 38, 175)
HSLhsl(269, 64%, 42%)
HSVhsv(269, 78%, 69%)
CMYKcmyk(40.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(32.75, 54.78, -60.64)
CIE-LCHlch(32.75, 81.72, 312.09°)
OKLaboklab(44.52% 0.0998 -0.1734)
OKLCHoklch(44.52% 0.2 299.9)
XYZxyz(14.1380, 7.4243, 41.2373)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826AF #6DAF26
analogous
#2629AF #6826AF #AD26AF
triadic
#6826AF #AF6826 #26AF68
tetradic
#6826AF #AF2629 #6DAF26 #26AFAD
square
#6826AF #AF2629 #6DAF26 #26AFAD
split-complementary
#6826AF #AFAD26 #29AF26
monochromatic
#2C104A #4A1B7D #6826AF #863DD5 #A670E0

Accessibility & contrast

On white

8.45
#6826AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6826AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826AF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826AF#FFFFFF#000000##FFFFFF
##6826AF1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#574B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6826af;
/* rgb */ color: rgb(104, 38, 175);
/* oklch */ color: oklch(44.5% 0.200 299.9);
Tailwind
colors: {
  custom: {
    50: '#9a68c8',
    500: '#6826af',
    950: '#000000',
  },
}
SCSS
$custom: #6826af;
$custom-light: #9a68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6826af",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 268.905,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44521,
    "c": 0.20002,
    "h": 299.9
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#6826AF
secondary
#9AC76A
accent
#E74097
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6826AF

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

Preview Lab → · Contrast checker → · Palette generator →

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