#6E25A8#6E25A8

#6E25A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.195 H 304.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6E25A8
RGBrgb(110, 37, 168)
HSLhsl(273, 64%, 40%)
HSVhsv(273, 78%, 66%)
CMYKcmyk(34.5%, 78%, 0%, 34.1%)
CIE-LABlab(32.84, 54.52, -56.27)
CIE-LCHlch(32.84, 78.35, 314.09°)
OKLaboklab(44.58% 0.1112 -0.1603)
OKLCHoklch(44.58% 0.195 304.7)
XYZxyz(14.1582, 7.4654, 37.7333)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E25A8 #5FA825
analogous
#2D25A8 #6E25A8 #A825A0
triadic
#6E25A8 #A86E25 #25A86E
tetradic
#6E25A8 #A82D25 #5FA825 #25A0A8
square
#6E25A8 #A82D25 #5FA825 #25A0A8
split-complementary
#6E25A8 #A0A825 #25A82D
monochromatic
#2C0F44 #4D1A76 #6E25A8 #8E37D3 #AA69DE

Accessibility & contrast

On white

8.42
#6E25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6E25A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E25A8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E25A8#FFFFFF#000000##FFFFFF
##6E25A81.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#634766
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e25a8;
/* rgb */ color: rgb(110, 37, 168);
/* oklch */ color: oklch(44.6% 0.195 304.7);
Tailwind
colors: {
  custom: {
    50: '#9d68c3',
    500: '#6e25a8',
    950: '#000000',
  },
}
SCSS
$custom: #6e25a8;
$custom-light: #9d68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e25a8",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 273.435,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.19508,
    "h": 304.7
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#6E25A8
secondary
#8FC465
accent
#E7418A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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