#6A1895#6A1895

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

Color values

HEX#6A1895
RGBrgb(106, 24, 149)
HSLhsl(279, 72%, 34%)
HSVhsv(279, 84%, 58%)
CMYKcmyk(28.9%, 83.9%, 0%, 41.6%)
CIE-LABlab(29.13, 54.17, -50.80)
CIE-LCHlch(29.13, 74.26, 316.84°)
OKLaboklab(41.38% 0.1207 -0.1443)
OKLCHoklch(41.38% 0.188 309.9)
XYZxyz(11.6942, 5.8876, 28.9483)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1895 #439518
analogous
#2C1895 #6A1895 #951882
triadic
#6A1895 #956A18 #18956A
tetradic
#6A1895 #952C18 #439518 #188295
square
#6A1895 #952C18 #439518 #188295
split-complementary
#6A1895 #829518 #18952C
monochromatic
#1F072C #451060 #6A1895 #8F20CA #AC46E1

Accessibility & contrast

On white

9.64
#6A1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1895
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1895#FFFFFF#000000##FFFFFF
##6A18951.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1895;
/* rgb */ color: rgb(106, 24, 149);
/* oklch */ color: oklch(41.4% 0.188 309.9);
Tailwind
colors: {
  custom: {
    50: '#9a61b5',
    500: '#6a1895',
    950: '#000000',
  },
}
SCSS
$custom: #6a1895;
$custom-light: #9a61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1895",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 279.36,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.18814,
    "h": 309.9
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#6A1895
secondary
#71C246
accent
#EF3977
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6A1895

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

Preview Lab → · Contrast checker → · Palette generator →

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