#6A1994#6A1994

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

Color values

HEX#6A1994
RGBrgb(106, 25, 148)
HSLhsl(280, 71%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(28.4%, 83.1%, 0%, 42%)
CIE-LABlab(29.15, 53.64, -50.14)
CIE-LCHlch(29.15, 73.43, 316.93°)
OKLaboklab(41.37% 0.1203 -0.1423)
OKLCHoklch(41.37% 0.186 310.2)
XYZxyz(11.6357, 5.8978, 28.5367)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1994 #439419
analogous
#2D1994 #6A1994 #941981
triadic
#6A1994 #946A19 #19946A
tetradic
#6A1994 #942D19 #439419 #198194
square
#6A1994 #942D19 #439419 #198194
split-complementary
#6A1994 #819419 #19942D
monochromatic
#1F072B #451060 #6A1994 #8F22C8 #AC47E0

Accessibility & contrast

On white

9.63
#6A1994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6A1994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1994
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1994#FFFFFF#000000##FFFFFF
##6A19941.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#643958
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1994;
/* rgb */ color: rgb(106, 25, 148);
/* oklch */ color: oklch(41.4% 0.186 310.2);
Tailwind
colors: {
  custom: {
    50: '#9a61b4',
    500: '#6a1994',
    950: '#000000',
  },
}
SCSS
$custom: #6a1994;
$custom-light: #9a61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1994",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 279.512,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.18636,
    "h": 310.2
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#6A1994
secondary
#71C147
accent
#EE3A77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1994

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

Preview Lab → · Contrast checker → · Palette generator →

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