#6825B2#6825B2

#6825B2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.204 H 299.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6825B2
RGBrgb(104, 37, 178)
HSLhsl(269, 66%, 42%)
HSVhsv(269, 79%, 70%)
CMYKcmyk(41.6%, 79.2%, 0%, 30.2%)
CIE-LABlab(32.88, 55.90, -62.23)
CIE-LCHlch(32.88, 83.65, 311.93°)
OKLaboklab(44.69% 0.0997 -0.178)
OKLCHoklch(44.69% 0.204 299.2)
XYZxyz(14.4043, 7.4804, 42.7958)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825B2 #6FB225
analogous
#2528B2 #6825B2 #AF25B2
triadic
#6825B2 #B26825 #25B268
tetradic
#6825B2 #B22528 #6FB225 #25B2AF
square
#6825B2 #B22528 #6FB225 #25B2AF
split-complementary
#6825B2 #B2AF25 #28B225
monochromatic
#2D104D #4A1A7F #6825B2 #863DD7 #A670E1

Accessibility & contrast

On white

8.41
#6825B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6825B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6825B2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6825B2#FFFFFF#000000##FFFFFF
##6825B21.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#564C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6825b2;
/* rgb */ color: rgb(104, 37, 178);
/* oklch */ color: oklch(44.7% 0.204 299.2);
Tailwind
colors: {
  custom: {
    50: '#9a68ca',
    500: '#6825b2',
    950: '#000000',
  },
}
SCSS
$custom: #6825b2;
$custom-light: #9a68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6825b2",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 268.511,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.20405,
    "h": 299.2
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#6825B2
secondary
#9CC86B
accent
#E93F98
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6825B2

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

Preview Lab → · Contrast checker → · Palette generator →

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