#6E25A2#6E25A2

#6E25A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.189 H 306.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6E25A2
RGBrgb(110, 37, 162)
HSLhsl(275, 63%, 39%)
HSVhsv(275, 77%, 64%)
CMYKcmyk(32.1%, 77.2%, 0%, 36.5%)
CIE-LABlab(32.36, 53.14, -53.43)
CIE-LCHlch(32.36, 75.36, 314.84°)
OKLaboklab(44.09% 0.1126 -0.152)
OKLCHoklch(44.09% 0.189 306.5)
XYZxyz(13.6121, 7.2469, 34.8571)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E25A2 #59A225
analogous
#3025A2 #6E25A2 #A22598
triadic
#6E25A2 #A26E25 #25A26E
tetradic
#6E25A2 #A23025 #59A225 #2598A2
square
#6E25A2 #A23025 #59A225 #2598A2
split-complementary
#6E25A2 #98A225 #25A230
monochromatic
#2A0E3E #4C1A70 #6E25A2 #8F34D1 #AB65DC

Accessibility & contrast

On white

8.57
#6E25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6E25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E25A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E25A2#FFFFFF#000000##FFFFFF
##6E25A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#654462
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e25a2;
/* rgb */ color: rgb(110, 37, 162);
/* oklch */ color: oklch(44.1% 0.189 306.5);
Tailwind
colors: {
  custom: {
    50: '#9d68be',
    500: '#6e25a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e25a2;
$custom-light: #9d68be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e25a2",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 275.04,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44089,
    "c": 0.18913,
    "h": 306.5
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#6E25A2
secondary
#89C261
accent
#E64286
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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