#6A1E72#6A1E72

#6A1E72 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.150 H 323.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#6A1E72
RGBrgb(106, 30, 114)
HSLhsl(294, 58%, 28%)
HSVhsv(294, 74%, 45%)
CMYKcmyk(7%, 73.7%, 0%, 55.3%)
CIE-LABlab(27.32, 44.87, -31.77)
CIE-LCHlch(27.32, 54.98, 324.70°)
OKLaboklab(39.3% 0.1209 -0.0885)
OKLCHoklch(39.3% 0.15 323.8)
XYZxyz(9.4451, 5.2082, 16.4241)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E72 #26721E
analogous
#401E72 #6A1E72 #721E50
triadic
#6A1E72 #726A1E #1E726A
tetradic
#6A1E72 #72401E #26721E #1E5072
square
#6A1E72 #72401E #26721E #1E5072
split-complementary
#6A1E72 #50721E #1E7240
monochromatic
#170618 #3D1142 #6A1E72 #972BA2 #BF3ECC

Accessibility & contrast

On white

10.29
#6A1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6A1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1E72
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E72#FFFFFF#000000##FFFFFF
##6A1E721.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B74
Deuteranopia (green-blind)
#2D4470
Tritanopia (blue-blind)
#6C2C46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a1e72;
/* rgb */ color: rgb(106, 30, 114);
/* oklch */ color: oklch(39.3% 0.150 323.8);
Tailwind
colors: {
  custom: {
    50: '#98629b',
    500: '#6a1e72',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e72;
$custom-light: #98629b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e72",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 294.286,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.14985,
    "h": 323.8
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#6A1E72
secondary
#4FA646
accent
#E24655
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6A1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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