#6A1D93#6A1D93

#6A1D93 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.182 H 310.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6A1D93
RGBrgb(106, 29, 147)
HSLhsl(279, 67%, 35%)
HSVhsv(279, 80%, 58%)
CMYKcmyk(27.9%, 80.3%, 0%, 42.4%)
CIE-LABlab(29.54, 52.08, -48.90)
CIE-LCHlch(29.54, 71.44, 316.80°)
OKLaboklab(41.61% 0.1174 -0.1387)
OKLCHoklch(41.61% 0.182 310.2)
XYZxyz(11.6486, 6.0497, 28.1522)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D93 #46931D
analogous
#2F1D93 #6A1D93 #931D81
triadic
#6A1D93 #936A1D #1D936A
tetradic
#6A1D93 #932F1D #46931D #1D8193
square
#6A1D93 #932F1D #46931D #1D8193
split-complementary
#6A1D93 #81931D #1D932F
monochromatic
#20092D #451360 #6A1D93 #8F27C6 #AB4EDC

Accessibility & contrast

On white

9.50
#6A1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6A1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D93
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D93#FFFFFF#000000##FFFFFF
##6A1D931.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#643B58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a1d93;
/* rgb */ color: rgb(106, 29, 147);
/* oklch */ color: oklch(41.6% 0.182 310.2);
Tailwind
colors: {
  custom: {
    50: '#9963b3',
    500: '#6a1d93',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d93;
$custom-light: #9963b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d93",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 279.153,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.18171,
    "h": 310.2
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#6A1D93
secondary
#75BF4D
accent
#EA3E7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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