#6E25A5#6E25A5

#6E25A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.192 H 305.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6E25A5
RGBrgb(110, 37, 165)
HSLhsl(274, 63%, 40%)
HSVhsv(274, 78%, 65%)
CMYKcmyk(33.3%, 77.6%, 0%, 35.3%)
CIE-LABlab(32.60, 53.82, -54.86)
CIE-LCHlch(32.60, 76.85, 314.46°)
OKLaboklab(44.33% 0.1119 -0.1561)
OKLCHoklch(44.33% 0.192 305.6)
XYZxyz(13.8820, 7.3549, 36.2783)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E25A5 #5CA525
analogous
#2E25A5 #6E25A5 #A5259C
triadic
#6E25A5 #A56E25 #25A56E
tetradic
#6E25A5 #A52E25 #5CA525 #259CA5
square
#6E25A5 #A52E25 #5CA525 #259CA5
split-complementary
#6E25A5 #9CA525 #25A52E
monochromatic
#2B0F41 #4D1A73 #6E25A5 #8F35D2 #AA67DD

Accessibility & contrast

On white

8.50
#6E25A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E25A5
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E25A5#FFFFFF#000000##FFFFFF
##6E25A51.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#644664
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e25a5;
/* rgb */ color: rgb(110, 37, 165);
/* oklch */ color: oklch(44.3% 0.192 305.6);
Tailwind
colors: {
  custom: {
    50: '#9d68c1',
    500: '#6e25a5',
    950: '#000000',
  },
}
SCSS
$custom: #6e25a5;
$custom-light: #9d68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e25a5",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 274.219,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44332,
    "c": 0.19211,
    "h": 305.6
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#6E25A5
secondary
#8CC363
accent
#E64188
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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