#6A1D9F#6A1D9F

#6A1D9F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.193 H 306.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#6A1D9F
RGBrgb(106, 29, 159)
HSLhsl(276, 69%, 37%)
HSVhsv(276, 82%, 62%)
CMYKcmyk(33.3%, 81.8%, 0%, 37.6%)
CIE-LABlab(30.51, 54.73, -54.65)
CIE-LCHlch(30.51, 77.35, 315.04°)
OKLaboklab(42.6% 0.1143 -0.1556)
OKLCHoklch(42.6% 0.193 306.3)
XYZxyz(12.6398, 6.4462, 33.3725)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D9F #529F1D
analogous
#291D9F #6A1D9F #9F1D93
triadic
#6A1D9F #9F6A1D #1D9F6A
tetradic
#6A1D9F #9F291D #529F1D #1D939F
square
#6A1D9F #9F291D #529F1D #1D939F
split-complementary
#6A1D9F #939F1D #1D9F29
monochromatic
#250A37 #47146B #6A1D9F #8D26D3 #A856E0

Accessibility & contrast

On white

9.17
#6A1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6A1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D9F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D9F#FFFFFF#000000##FFFFFF
##6A1D9F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#60405F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a1d9f;
/* rgb */ color: rgb(106, 29, 159);
/* oklch */ color: oklch(42.6% 0.193 306.3);
Tailwind
colors: {
  custom: {
    50: '#9a64bc',
    500: '#6a1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d9f;
$custom-light: #9a64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d9f",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 275.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.1931,
    "h": 306.3
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#6A1D9F
secondary
#82C454
accent
#EC3C84
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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