#6A1E9E#6A1E9E

#6A1E9E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.191 H 306.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6A1E9E
RGBrgb(106, 30, 158)
HSLhsl(276, 68%, 37%)
HSVhsv(276, 81%, 62%)
CMYKcmyk(32.9%, 81%, 0%, 38%)
CIE-LABlab(30.55, 54.16, -53.99)
CIE-LCHlch(30.55, 76.47, 315.09°)
OKLaboklab(42.6% 0.1138 -0.1537)
OKLCHoklch(42.6% 0.191 306.5)
XYZxyz(12.5783, 6.4615, 32.9257)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E9E #529E1E
analogous
#2A1E9E #6A1E9E #9E1E92
triadic
#6A1E9E #9E6A1E #1E9E6A
tetradic
#6A1E9E #9E2A1E #529E1E #1E929E
square
#6A1E9E #9E2A1E #529E1E #1E929E
split-complementary
#6A1E9E #929E1E #1E9E2A
monochromatic
#250A37 #47146B #6A1E9E #8D28D1 #A857DF

Accessibility & contrast

On white

9.16
#6A1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6A1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1E9E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E9E#FFFFFF#000000##FFFFFF
##6A1E9E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#61405F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a1e9e;
/* rgb */ color: rgb(106, 30, 158);
/* oklch */ color: oklch(42.6% 0.191 306.5);
Tailwind
colors: {
  custom: {
    50: '#9a64bc',
    500: '#6a1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e9e;
$custom-light: #9a64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e9e",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 275.625,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.19122,
    "h": 306.5
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#6A1E9E
secondary
#82C355
accent
#EB3D84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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