#6825B1#6825B1

#6825B1 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.203 H 299.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6825B1
RGBrgb(104, 37, 177)
HSLhsl(269, 65%, 42%)
HSVhsv(269, 79%, 69%)
CMYKcmyk(41.2%, 79.1%, 0%, 30.6%)
CIE-LABlab(32.79, 55.66, -61.78)
CIE-LCHlch(32.79, 83.16, 312.02°)
OKLaboklab(44.6% 0.1 -0.1767)
OKLCHoklch(44.6% 0.203 299.5)
XYZxyz(14.3043, 7.4403, 42.2690)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825B1 #6EB125
analogous
#2528B1 #6825B1 #AE25B1
triadic
#6825B1 #B16825 #25B168
tetradic
#6825B1 #B12528 #6EB125 #25B1AE
square
#6825B1 #B12528 #6EB125 #25B1AE
split-complementary
#6825B1 #B1AE25 #28B125
monochromatic
#2D104C #4A1A7E #6825B1 #863DD6 #A66FE1

Accessibility & contrast

On white

8.44
#6825B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6825B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6825B1
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6825B1#FFFFFF#000000##FFFFFF
##6825B11.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.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: #6825b1;
/* rgb */ color: rgb(104, 37, 177);
/* oklch */ color: oklch(44.6% 0.203 299.5);
Tailwind
colors: {
  custom: {
    50: '#9a68c9',
    500: '#6825b1',
    950: '#000000',
  },
}
SCSS
$custom: #6825b1;
$custom-light: #9a68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6825b1",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 268.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44599,
    "c": 0.20303,
    "h": 299.5
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#6825B1
secondary
#9BC86A
accent
#E83F98
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6825B1

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

Preview Lab → · Contrast checker → · Palette generator →

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