#6A1D94#6A1D94

#6A1D94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.183 H 309.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#6A1D94
RGBrgb(106, 29, 148)
HSLhsl(279, 67%, 35%)
HSVhsv(279, 80%, 58%)
CMYKcmyk(28.4%, 80.4%, 0%, 42%)
CIE-LABlab(29.62, 52.30, -49.39)
CIE-LCHlch(29.62, 71.93, 316.64°)
OKLaboklab(41.69% 0.1171 -0.1402)
OKLCHoklch(41.69% 0.183 309.9)
XYZxyz(11.7275, 6.0813, 28.5672)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D94 #47941D
analogous
#2F1D94 #6A1D94 #941D82
triadic
#6A1D94 #946A1D #1D946A
tetradic
#6A1D94 #942F1D #47941D #1D8294
square
#6A1D94 #942F1D #47941D #1D8294
split-complementary
#6A1D94 #82941D #1D942F
monochromatic
#21092E #451361 #6A1D94 #8F27C7 #AB4FDC

Accessibility & contrast

On white

9.48
#6A1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6A1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D94
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D94#FFFFFF#000000##FFFFFF
##6A1D941.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#643B59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a1d94;
/* rgb */ color: rgb(106, 29, 148);
/* oklch */ color: oklch(41.7% 0.183 309.9);
Tailwind
colors: {
  custom: {
    50: '#9963b4',
    500: '#6a1d94',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d94;
$custom-light: #9963b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d94",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 278.824,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.18266,
    "h": 309.9
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#6A1D94
secondary
#76BF4E
accent
#EA3E7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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