#6A1E7D#6A1E7D

#6A1E7D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.160 H 318.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#6A1E7D
RGBrgb(106, 30, 125)
HSLhsl(288, 61%, 30%)
HSVhsv(288, 76%, 49%)
CMYKcmyk(15.2%, 76%, 0%, 51%)
CIE-LABlab(28.04, 47.05, -37.60)
CIE-LCHlch(28.04, 60.23, 321.37°)
OKLaboklab(40.05% 0.1202 -0.1056)
OKLCHoklch(40.05% 0.16 318.7)
XYZxyz(10.1093, 5.4739, 19.9221)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E7D #317D1E
analogous
#3A1E7D #6A1E7D #7D1E60
triadic
#6A1E7D #7D6A1E #1E7D6A
tetradic
#6A1E7D #7D3A1E #317D1E #1E607D
square
#6A1E7D #7D3A1E #317D1E #1E607D
split-complementary
#6A1E7D #607D1E #1E7D3A
monochromatic
#16061A #40124C #6A1E7D #942AAE #B543D2

Accessibility & contrast

On white

10.03
#6A1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6A1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1E7D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E7D#FFFFFF#000000##FFFFFF
##6A1E7D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#6A314C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1e7d;
/* rgb */ color: rgb(106, 30, 125);
/* oklch */ color: oklch(40.0% 0.160 318.7);
Tailwind
colors: {
  custom: {
    50: '#9862a3',
    500: '#6a1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e7d;
$custom-light: #9862a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e7d",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 288,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.15995,
    "h": 318.7
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#6A1E7D
secondary
#5CB046
accent
#E44364
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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