#6D25A7#6D25A7

#6D25A7 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.194 H 304.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6D25A7
RGBrgb(109, 37, 167)
HSLhsl(273, 64%, 40%)
HSVhsv(273, 78%, 65%)
CMYKcmyk(34.7%, 77.8%, 0%, 34.5%)
CIE-LABlab(32.62, 54.11, -56.03)
CIE-LCHlch(32.62, 77.90, 314.00°)
OKLaboklab(44.37% 0.11 -0.1596)
OKLCHoklch(44.37% 0.194 304.6)
XYZxyz(13.9417, 7.3644, 37.2387)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D25A7 #5FA725
analogous
#2C25A7 #6D25A7 #A725A0
triadic
#6D25A7 #A76D25 #25A76D
tetradic
#6D25A7 #A72C25 #5FA725 #25A0A7
square
#6D25A7 #A72C25 #5FA725 #25A0A7
split-complementary
#6D25A7 #A0A725 #25A72C
monochromatic
#2C0F43 #4C1A75 #6D25A7 #8D37D3 #AA69DE

Accessibility & contrast

On white

8.49
#6D25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6D25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D25A7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D25A7#FFFFFF#000000##FFFFFF
##6D25A71.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#624765
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d25a7;
/* rgb */ color: rgb(109, 37, 167);
/* oklch */ color: oklch(44.4% 0.194 304.6);
Tailwind
colors: {
  custom: {
    50: '#9c68c2',
    500: '#6d25a7',
    950: '#000000',
  },
}
SCSS
$custom: #6d25a7;
$custom-light: #9c68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d25a7",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 273.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.19387,
    "h": 304.6
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#6D25A7
secondary
#8FC464
accent
#E7418B
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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