#6B25A4#6B25A4

#6B25A4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.190 H 304.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6B25A4
RGBrgb(107, 37, 164)
HSLhsl(273, 63%, 39%)
HSVhsv(273, 77%, 64%)
CMYKcmyk(34.8%, 77.4%, 0%, 35.7%)
CIE-LABlab(32.10, 53.06, -55.09)
CIE-LCHlch(32.10, 76.49, 313.93°)
OKLaboklab(43.86% 0.1078 -0.1569)
OKLCHoklch(43.86% 0.19 304.5)
XYZxyz(13.4243, 7.1293, 35.7836)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B25A4 #5EA425
analogous
#2C25A4 #6B25A4 #A4259E
triadic
#6B25A4 #A46B25 #25A46B
tetradic
#6B25A4 #A42C25 #5EA425 #259EA4
square
#6B25A4 #A42C25 #5EA425 #259EA4
split-complementary
#6B25A4 #9EA425 #25A42C
monochromatic
#2A0E40 #4A1A72 #6B25A4 #8B35D1 #A867DD

Accessibility & contrast

On white

8.66
#6B25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B25A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B25A4
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B25A4#FFFFFF#000000##FFFFFF
##6B25A41.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#604664
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b25a4;
/* rgb */ color: rgb(107, 37, 164);
/* oklch */ color: oklch(43.9% 0.190 304.5);
Tailwind
colors: {
  custom: {
    50: '#9b68c0',
    500: '#6b25a4',
    950: '#000000',
  },
}
SCSS
$custom: #6b25a4;
$custom-light: #9b68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b25a4",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 273.071,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43865,
    "c": 0.19042,
    "h": 304.5
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#6B25A4
secondary
#8DC262
accent
#E6428B
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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