#6A1D99#6A1D99

#6A1D99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.187 H 308.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6A1D99
RGBrgb(106, 29, 153)
HSLhsl(277, 68%, 36%)
HSVhsv(277, 81%, 60%)
CMYKcmyk(30.7%, 81%, 0%, 40%)
CIE-LABlab(30.02, 53.40, -51.80)
CIE-LCHlch(30.02, 74.39, 315.87°)
OKLaboklab(42.1% 0.1159 -0.1473)
OKLCHoklch(42.1% 0.187 308.2)
XYZxyz(12.1318, 6.2430, 30.6967)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D99 #4C991D
analogous
#2C1D99 #6A1D99 #991D8A
triadic
#6A1D99 #996A1D #1D996A
tetradic
#6A1D99 #992C1D #4C991D #1D8A99
square
#6A1D99 #992C1D #4C991D #1D8A99
split-complementary
#6A1D99 #8A991D #1D992C
monochromatic
#230932 #461366 #6A1D99 #8E27CC #A952DE

Accessibility & contrast

On white

9.34
#6A1D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6A1D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D99
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D99#FFFFFF#000000##FFFFFF
##6A1D991.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#623D5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a1d99;
/* rgb */ color: rgb(106, 29, 153);
/* oklch */ color: oklch(42.1% 0.187 308.2);
Tailwind
colors: {
  custom: {
    50: '#9a63b8',
    500: '#6a1d99',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d99;
$custom-light: #9a63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d99",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 277.258,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.18739,
    "h": 308.2
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#6A1D99
secondary
#7BC151
accent
#EB3D7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6A1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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