#6D25A5#6D25A5

#6D25A5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.192 H 305.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6D25A5
RGBrgb(109, 37, 165)
HSLhsl(274, 63%, 40%)
HSVhsv(274, 78%, 65%)
CMYKcmyk(33.9%, 77.6%, 0%, 35.3%)
CIE-LABlab(32.46, 53.65, -55.09)
CIE-LCHlch(32.46, 76.90, 314.24°)
OKLaboklab(44.2% 0.1105 -0.1569)
OKLCHoklch(44.2% 0.192 305.2)
XYZxyz(13.7582, 7.2910, 36.2725)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D25A5 #5DA525
analogous
#2D25A5 #6D25A5 #A5259D
triadic
#6D25A5 #A56D25 #25A56D
tetradic
#6D25A5 #A52D25 #5DA525 #259DA5
square
#6D25A5 #A52D25 #5DA525 #259DA5
split-complementary
#6D25A5 #9DA525 #25A52D
monochromatic
#2B0F41 #4C1A73 #6D25A5 #8D35D2 #AA67DD

Accessibility & contrast

On white

8.54
#6D25A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6D25A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D25A5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D25A5#FFFFFF#000000##FFFFFF
##6D25A51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#624664
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d25a5;
/* rgb */ color: rgb(109, 37, 165);
/* oklch */ color: oklch(44.2% 0.192 305.2);
Tailwind
colors: {
  custom: {
    50: '#9c68c1',
    500: '#6d25a5',
    950: '#000000',
  },
}
SCSS
$custom: #6d25a5;
$custom-light: #9c68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d25a5",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 273.75,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44203,
    "c": 0.19187,
    "h": 305.2
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#6D25A5
secondary
#8DC363
accent
#E6418A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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