#6E25A3#6E25A3

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

Color values

HEX#6E25A3
RGBrgb(110, 37, 163)
HSLhsl(275, 63%, 39%)
HSVhsv(275, 77%, 64%)
CMYKcmyk(32.5%, 77.3%, 0%, 36.1%)
CIE-LABlab(32.44, 53.37, -53.91)
CIE-LCHlch(32.44, 75.86, 314.71°)
OKLaboklab(44.17% 0.1124 -0.1534)
OKLCHoklch(44.17% 0.19 306.2)
XYZxyz(13.7014, 7.2826, 35.3271)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E25A3 #5AA325
analogous
#2F25A3 #6E25A3 #A32599
triadic
#6E25A3 #A36E25 #25A36E
tetradic
#6E25A3 #A32F25 #5AA325 #2599A3
square
#6E25A3 #A32F25 #5AA325 #2599A3
split-complementary
#6E25A3 #99A325 #25A32F
monochromatic
#2B0E3F #4C1A71 #6E25A3 #8F34D1 #AB66DC

Accessibility & contrast

On white

8.55
#6E25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E25A3
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E25A3#FFFFFF#000000##FFFFFF
##6E25A31.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e25a3;
/* rgb */ color: rgb(110, 37, 163);
/* oklch */ color: oklch(44.2% 0.190 306.2);
Tailwind
colors: {
  custom: {
    50: '#9d68bf',
    500: '#6e25a3',
    950: '#000000',
  },
}
SCSS
$custom: #6e25a3;
$custom-light: #9d68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e25a3",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 274.762,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.19012,
    "h": 306.2
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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