#6A1E9D#6A1E9D

#6A1E9D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.190 H 306.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6A1E9D
RGBrgb(106, 30, 157)
HSLhsl(276, 68%, 37%)
HSVhsv(276, 81%, 62%)
CMYKcmyk(32.5%, 80.9%, 0%, 38.4%)
CIE-LABlab(30.47, 53.94, -53.51)
CIE-LCHlch(30.47, 75.98, 315.23°)
OKLaboklab(42.51% 0.1141 -0.1523)
OKLCHoklch(42.51% 0.19 306.8)
XYZxyz(12.4926, 6.4272, 32.4742)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E9D #519D1E
analogous
#2B1E9D #6A1E9D #9D1E90
triadic
#6A1E9D #9D6A1E #1E9D6A
tetradic
#6A1E9D #9D2B1E #519D1E #1E909D
square
#6A1E9D #9D2B1E #519D1E #1E909D
split-complementary
#6A1E9D #909D1E #1E9D2B
monochromatic
#250A36 #47146A #6A1E9D #8D28D0 #A857DF

Accessibility & contrast

On white

9.19
#6A1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1E9D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E9D#FFFFFF#000000##FFFFFF
##6A1E9D1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#61405E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a1e9d;
/* rgb */ color: rgb(106, 30, 157);
/* oklch */ color: oklch(42.5% 0.190 306.8);
Tailwind
colors: {
  custom: {
    50: '#9a64bb',
    500: '#6a1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e9d;
$custom-light: #9a64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e9d",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 275.906,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.19027,
    "h": 306.8
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#6A1E9D
secondary
#81C254
accent
#EB3D83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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