#6A1899#6A1899

#6A1899 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.192 H 308.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6A1899
RGBrgb(106, 24, 153)
HSLhsl(278, 73%, 35%)
HSVhsv(278, 84%, 60%)
CMYKcmyk(30.7%, 84.3%, 0%, 40%)
CIE-LABlab(29.46, 55.03, -52.71)
CIE-LCHlch(29.46, 76.21, 316.23°)
OKLaboklab(41.71% 0.1196 -0.1499)
OKLCHoklch(41.71% 0.192 308.6)
XYZxyz(12.0191, 6.0176, 30.6592)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1899 #479918
analogous
#2A1899 #6A1899 #991887
triadic
#6A1899 #996A18 #18996A
tetradic
#6A1899 #992A18 #479918 #188799
square
#6A1899 #992A18 #479918 #188799
split-complementary
#6A1899 #879918 #18992A
monochromatic
#21072F #451064 #6A1899 #8F20CE #AB49E2

Accessibility & contrast

On white

9.53
#6A1899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6A1899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1899
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1899#FFFFFF#000000##FFFFFF
##6A18991.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#623B5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1899;
/* rgb */ color: rgb(106, 24, 153);
/* oklch */ color: oklch(41.7% 0.192 308.6);
Tailwind
colors: {
  custom: {
    50: '#9a61b8',
    500: '#6a1899',
    950: '#000000',
  },
}
SCSS
$custom: #6a1899;
$custom-light: #9a61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1899",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 278.14,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.19179,
    "h": 308.6
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#6A1899
secondary
#76C449
accent
#F0387B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6A1899

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

Preview Lab → · Contrast checker → · Palette generator →

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