#6824B1#6824B1

#6824B1 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.204 H 299.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6824B1
RGBrgb(104, 36, 177)
HSLhsl(269, 66%, 42%)
HSVhsv(269, 80%, 69%)
CMYKcmyk(41.2%, 79.7%, 0%, 30.6%)
CIE-LABlab(32.65, 56.05, -62.00)
CIE-LCHlch(32.65, 83.58, 312.11°)
OKLaboklab(44.51% 0.1008 -0.1773)
OKLCHoklch(44.51% 0.204 299.6)
XYZxyz(14.2736, 7.3790, 42.2587)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824B1 #6DB124
analogous
#2427B1 #6824B1 #AF24B1
triadic
#6824B1 #B16824 #24B168
tetradic
#6824B1 #B12427 #6DB124 #24B1AF
square
#6824B1 #B12427 #6DB124 #24B1AF
split-complementary
#6824B1 #B1AF24 #27B124
monochromatic
#2C0F4B #4A1A7E #6824B1 #863BD7 #A66EE1

Accessibility & contrast

On white

8.48
#6824B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6824B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6824B1
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824B1#FFFFFF#000000##FFFFFF
##6824B11.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#564B6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6824b1;
/* rgb */ color: rgb(104, 36, 177);
/* oklch */ color: oklch(44.5% 0.204 299.6);
Tailwind
colors: {
  custom: {
    50: '#9a67c9',
    500: '#6824b1',
    950: '#000000',
  },
}
SCSS
$custom: #6824b1;
$custom-light: #9a67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6824b1",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 268.936,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.20397,
    "h": 299.6
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#6824B1
secondary
#9AC869
accent
#E93F97
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6824B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6824B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva