#6B25AD#6B25AD

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

Color values

HEX#6B25AD
RGBrgb(107, 37, 173)
HSLhsl(271, 65%, 41%)
HSVhsv(271, 79%, 68%)
CMYKcmyk(38.2%, 78.6%, 0%, 32.2%)
CIE-LABlab(32.85, 55.18, -59.28)
CIE-LCHlch(32.85, 80.99, 312.95°)
OKLaboklab(44.62% 0.1055 -0.1693)
OKLCHoklch(44.62% 0.199 301.9)
XYZxyz(14.2660, 7.4660, 40.2166)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B25AD #67AD25
analogous
#2725AD #6B25AD #AD25AB
triadic
#6B25AD #AD6B25 #25AD6B
tetradic
#6B25AD #AD2725 #67AD25 #25ABAD
square
#6B25AD #AD2725 #67AD25 #25ABAD
split-complementary
#6B25AD #ABAD25 #25AD27
monochromatic
#2D0F48 #4C1A7B #6B25AD #8A3AD5 #A86DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B25AD#FFFFFF#000000##FFFFFF
##6B25AD1.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)
#004CB1
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#5D4969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b25ad;
/* rgb */ color: rgb(107, 37, 173);
/* oklch */ color: oklch(44.6% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#9c68c6',
    500: '#6b25ad',
    950: '#000000',
  },
}
SCSS
$custom: #6b25ad;
$custom-light: #9c68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b25ad",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 270.882,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44618,
    "c": 0.19946,
    "h": 301.9
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#6B25AD
secondary
#96C668
accent
#E84091
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B25AD

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

Preview Lab → · Contrast checker → · Palette generator →

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