#6825B0#6825B0

#6825B0 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.202 H 299.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6825B0
RGBrgb(104, 37, 176)
HSLhsl(269, 65%, 42%)
HSVhsv(269, 79%, 69%)
CMYKcmyk(40.9%, 79%, 0%, 31%)
CIE-LABlab(32.70, 55.42, -61.33)
CIE-LCHlch(32.70, 82.66, 312.10°)
OKLaboklab(44.51% 0.1003 -0.1754)
OKLCHoklch(44.51% 0.202 299.8)
XYZxyz(14.2050, 7.4006, 41.7459)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825B0 #6DB025
analogous
#2528B0 #6825B0 #AE25B0
triadic
#6825B0 #B06825 #25B068
tetradic
#6825B0 #B02528 #6DB025 #25B0AE
square
#6825B0 #B02528 #6DB025 #25B0AE
split-complementary
#6825B0 #B0AE25 #28B025
monochromatic
#2C104B #4A1A7D #6825B0 #863CD6 #A66FE1

Accessibility & contrast

On white

8.47
#6825B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6825B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6825B0
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6825B0#FFFFFF#000000##FFFFFF
##6825B01.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6825b0;
/* rgb */ color: rgb(104, 37, 176);
/* oklch */ color: oklch(44.5% 0.202 299.8);
Tailwind
colors: {
  custom: {
    50: '#9a68c9',
    500: '#6825b0',
    950: '#000000',
  },
}
SCSS
$custom: #6825b0;
$custom-light: #9a68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6825b0",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 268.921,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.20202,
    "h": 299.8
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#6825B0
secondary
#9AC76A
accent
#E84097
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6825B0

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

Preview Lab → · Contrast checker → · Palette generator →

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