#6D25A2#6D25A2

#6D25A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.189 H 306.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6D25A2
RGBrgb(109, 37, 162)
HSLhsl(275, 63%, 39%)
HSVhsv(275, 77%, 64%)
CMYKcmyk(32.7%, 77.2%, 0%, 36.5%)
CIE-LABlab(32.22, 52.96, -53.67)
CIE-LCHlch(32.22, 75.40, 314.62°)
OKLaboklab(43.96% 0.1112 -0.1527)
OKLCHoklch(43.96% 0.189 306.1)
XYZxyz(13.4884, 7.1831, 34.8513)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D25A2 #5AA225
analogous
#2F25A2 #6D25A2 #A22599
triadic
#6D25A2 #A26D25 #25A26D
tetradic
#6D25A2 #A22F25 #5AA225 #2599A2
square
#6D25A2 #A22F25 #5AA225 #2599A2
split-complementary
#6D25A2 #99A225 #25A22F
monochromatic
#2A0E3E #4B1A70 #6D25A2 #8E34D1 #AA65DC

Accessibility & contrast

On white

8.62
#6D25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6D25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D25A2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D25A2#FFFFFF#000000##FFFFFF
##6D25A21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#634462
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d25a2;
/* rgb */ color: rgb(109, 37, 162);
/* oklch */ color: oklch(44.0% 0.189 306.1);
Tailwind
colors: {
  custom: {
    50: '#9c68be',
    500: '#6d25a2',
    950: '#000000',
  },
}
SCSS
$custom: #6d25a2;
$custom-light: #9c68be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d25a2",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 274.56,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43959,
    "c": 0.18889,
    "h": 306.1
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#6D25A2
secondary
#8AC261
accent
#E64287
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D25A2

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

Preview Lab → · Contrast checker → · Palette generator →

#6D25A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva