#6A1995#6A1995

#6A1995 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.187 H 309.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6A1995
RGBrgb(106, 25, 149)
HSLhsl(279, 71%, 34%)
HSVhsv(279, 83%, 58%)
CMYKcmyk(28.9%, 83.2%, 0%, 41.6%)
CIE-LABlab(29.23, 53.86, -50.62)
CIE-LCHlch(29.23, 73.91, 316.77°)
OKLaboklab(41.45% 0.12 -0.1438)
OKLCHoklch(41.45% 0.187 309.9)
XYZxyz(11.7152, 5.9296, 28.9553)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1995 #449519
analogous
#2C1995 #6A1995 #951982
triadic
#6A1995 #956A19 #19956A
tetradic
#6A1995 #952C19 #449519 #198295
square
#6A1995 #952C19 #449519 #198295
split-complementary
#6A1995 #829519 #19952C
monochromatic
#1F072C #451061 #6A1995 #8F22C9 #AC48E0

Accessibility & contrast

On white

9.61
#6A1995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1995
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1995#FFFFFF#000000##FFFFFF
##6A19951.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1995;
/* rgb */ color: rgb(106, 25, 149);
/* oklch */ color: oklch(41.5% 0.187 309.9);
Tailwind
colors: {
  custom: {
    50: '#9a62b5',
    500: '#6a1995',
    950: '#000000',
  },
}
SCSS
$custom: #6a1995;
$custom-light: #9a62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1995",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 279.194,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.18728,
    "h": 309.9
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#6A1995
secondary
#72C248
accent
#EE3A78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6A1995

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

Preview Lab → · Contrast checker → · Palette generator →

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