#6824B0#6824B0

#6824B0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.203 H 299.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6824B0
RGBrgb(104, 36, 176)
HSLhsl(269, 66%, 42%)
HSVhsv(269, 80%, 69%)
CMYKcmyk(40.9%, 79.5%, 0%, 31%)
CIE-LABlab(32.57, 55.81, -61.55)
CIE-LCHlch(32.57, 83.08, 312.20°)
OKLaboklab(44.42% 0.1011 -0.176)
OKLCHoklch(44.42% 0.203 299.9)
XYZxyz(14.1743, 7.3392, 41.7357)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824B0 #6CB024
analogous
#2426B0 #6824B0 #AE24B0
triadic
#6824B0 #B06824 #24B068
tetradic
#6824B0 #B02426 #6CB024 #24B0AE
square
#6824B0 #B02426 #6CB024 #24B0AE
split-complementary
#6824B0 #B0AE24 #26B024
monochromatic
#2C0F4A #4A1A7D #6824B0 #863AD7 #A66DE1

Accessibility & contrast

On white

8.51
#6824B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6824B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6824B0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824B0#FFFFFF#000000##FFFFFF
##6824B01.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6824b0;
/* rgb */ color: rgb(104, 36, 176);
/* oklch */ color: oklch(44.4% 0.203 299.9);
Tailwind
colors: {
  custom: {
    50: '#9a67c9',
    500: '#6824b0',
    950: '#000000',
  },
}
SCSS
$custom: #6824b0;
$custom-light: #9a67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6824b0",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 269.143,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44417,
    "c": 0.20296,
    "h": 299.9
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#6824B0
secondary
#99C868
accent
#E93F96
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6824B0

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

Preview Lab → · Contrast checker → · Palette generator →

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