#6D25A3#6D25A3

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

Color values

HEX#6D25A3
RGBrgb(109, 37, 163)
HSLhsl(274, 63%, 39%)
HSVhsv(274, 77%, 64%)
CMYKcmyk(33.1%, 77.3%, 0%, 36.1%)
CIE-LABlab(32.30, 53.19, -54.15)
CIE-LCHlch(32.30, 75.90, 314.49°)
OKLaboklab(44.04% 0.1109 -0.1541)
OKLCHoklch(44.04% 0.19 305.8)
XYZxyz(13.5776, 7.2188, 35.3213)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D25A3 #5BA325
analogous
#2E25A3 #6D25A3 #A3259A
triadic
#6D25A3 #A36D25 #25A36D
tetradic
#6D25A3 #A32E25 #5BA325 #259AA3
square
#6D25A3 #A32E25 #5BA325 #259AA3
split-complementary
#6D25A3 #9AA325 #25A32E
monochromatic
#2A0E3F #4C1A71 #6D25A3 #8E34D1 #AA66DC

Accessibility & contrast

On white

8.59
#6D25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D25A3
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D25A3#FFFFFF#000000##FFFFFF
##6D25A31.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#634563
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d25a3;
/* rgb */ color: rgb(109, 37, 163);
/* oklch */ color: oklch(44.0% 0.190 305.8);
Tailwind
colors: {
  custom: {
    50: '#9c68bf',
    500: '#6d25a3',
    950: '#000000',
  },
}
SCSS
$custom: #6d25a3;
$custom-light: #9c68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d25a3",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 274.286,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.18988,
    "h": 305.8
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#6D25A3
secondary
#8BC262
accent
#E64288
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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