#6824BD#6824BD

#6824BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.216 H 296.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6824BD
RGBrgb(104, 36, 189)
HSLhsl(267, 68%, 44%)
HSVhsv(267, 81%, 74%)
CMYKcmyk(45%, 81%, 0%, 25.9%)
CIE-LABlab(33.73, 58.96, -67.36)
CIE-LCHlch(33.73, 89.51, 311.20°)
OKLaboklab(45.58% 0.097 -0.193)
OKLCHoklch(45.58% 0.216 296.7)
XYZxyz(15.5227, 7.8786, 48.8371)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824BD #79BD24
analogous
#242CBD #6824BD #B524BD
triadic
#6824BD #BD6824 #24BD68
tetradic
#6824BD #BD242C #79BD24 #24BDB5
square
#6824BD #BD242C #79BD24 #24BDB5
split-complementary
#6824BD #BDB524 #2CBD24
monochromatic
#2F1056 #4C1A8A #6824BD #8743DB #A876E5

Accessibility & contrast

On white

8.15
#6824BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6824BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6824BD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824BD#FFFFFF#000000##FFFFFF
##6824BD1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#515072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6824bd;
/* rgb */ color: rgb(104, 36, 189);
/* oklch */ color: oklch(45.6% 0.216 296.7);
Tailwind
colors: {
  custom: {
    50: '#9c68d2',
    500: '#6824bd',
    950: '#000000',
  },
}
SCSS
$custom: #6824bd;
$custom-light: #9c68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6824bd",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 266.667,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.21606,
    "h": 296.7
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#6824BD
secondary
#A4CC70
accent
#EB3D9E
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6824BD

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

Preview Lab → · Contrast checker → · Palette generator →

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