#6A1894#6A1894

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

Color values

HEX#6A1894
RGBrgb(106, 24, 148)
HSLhsl(280, 72%, 34%)
HSVhsv(280, 84%, 58%)
CMYKcmyk(28.4%, 83.8%, 0%, 42%)
CIE-LABlab(29.05, 53.96, -50.32)
CIE-LCHlch(29.05, 73.78, 317.00°)
OKLaboklab(41.29% 0.121 -0.1429)
OKLCHoklch(41.29% 0.187 310.3)
XYZxyz(11.6147, 5.8558, 28.5297)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1894 #429418
analogous
#2C1894 #6A1894 #941880
triadic
#6A1894 #946A18 #18946A
tetradic
#6A1894 #942C18 #429418 #188094
square
#6A1894 #942C18 #429418 #188094
split-complementary
#6A1894 #809418 #18942C
monochromatic
#1F072B #440F5F #6A1894 #9021C9 #AC45E1

Accessibility & contrast

On white

9.67
#6A1894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6A1894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1894
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1894#FFFFFF#000000##FFFFFF
##6A18941.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1894;
/* rgb */ color: rgb(106, 24, 148);
/* oklch */ color: oklch(41.3% 0.187 310.3);
Tailwind
colors: {
  custom: {
    50: '#9a61b4',
    500: '#6a1894',
    950: '#000000',
  },
}
SCSS
$custom: #6a1894;
$custom-light: #9a61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1894",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 279.677,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.18722,
    "h": 310.3
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#6A1894
secondary
#70C246
accent
#EF3977
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80

Preview Lab

Preview with #6A1894

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

Preview Lab → · Contrast checker → · Palette generator →

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