#6A1A94#6A1A94

#6A1A94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.185 H 310.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6A1A94
RGBrgb(106, 26, 148)
HSLhsl(279, 70%, 34%)
HSVhsv(279, 82%, 58%)
CMYKcmyk(28.4%, 82.4%, 0%, 42%)
CIE-LABlab(29.26, 53.32, -49.96)
CIE-LCHlch(29.26, 73.07, 316.86°)
OKLaboklab(41.45% 0.1195 -0.1418)
OKLCHoklch(41.45% 0.185 310.1)
XYZxyz(11.6575, 5.9413, 28.5439)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A94 #44941A
analogous
#2D1A94 #6A1A94 #941A81
triadic
#6A1A94 #946A1A #1A946A
tetradic
#6A1A94 #942D1A #44941A #1A8194
square
#6A1A94 #942D1A #44941A #1A8194
split-complementary
#6A1A94 #81941A #1A942D
monochromatic
#1F082C #451160 #6A1A94 #8F23C8 #AC49DF

Accessibility & contrast

On white

9.60
#6A1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A1A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1A94
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A94#FFFFFF#000000##FFFFFF
##6A1A941.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#643A58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1a94;
/* rgb */ color: rgb(106, 26, 148);
/* oklch */ color: oklch(41.4% 0.185 310.1);
Tailwind
colors: {
  custom: {
    50: '#9962b4',
    500: '#6a1a94',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a94;
$custom-light: #9962b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a94",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 279.344,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.18547,
    "h": 310.1
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#6A1A94
secondary
#72C149
accent
#ED3B78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1A94

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

Preview Lab → · Contrast checker → · Palette generator →

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