#6D1D9F#6D1D9F

#6D1D9F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.194 H 307.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6D1D9F
RGBrgb(109, 29, 159)
HSLhsl(277, 69%, 37%)
HSVhsv(277, 82%, 62%)
CMYKcmyk(31.4%, 81.8%, 0%, 37.6%)
CIE-LABlab(30.96, 55.23, -53.91)
CIE-LCHlch(30.96, 77.18, 315.69°)
OKLaboklab(43% 0.1186 -0.1533)
OKLCHoklch(43% 0.194 307.7)
XYZxyz(13.0027, 6.6333, 33.3895)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D9F #4F9F1D
analogous
#2C1D9F #6D1D9F #9F1D90
triadic
#6D1D9F #9F6D1D #1D9F6D
tetradic
#6D1D9F #9F2C1D #4F9F1D #1D909F
square
#6D1D9F #9F2C1D #4F9F1D #1D909F
split-complementary
#6D1D9F #909F1D #1D9F2C
monochromatic
#260A37 #4A146B #6D1D9F #9026D3 #AB56E0

Accessibility & contrast

On white

9.03
#6D1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D9F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D9F#FFFFFF#000000##FFFFFF
##6D1D9F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#65405F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1d9f;
/* rgb */ color: rgb(109, 29, 159);
/* oklch */ color: oklch(43.0% 0.194 307.7);
Tailwind
colors: {
  custom: {
    50: '#9c64bc',
    500: '#6d1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d9f;
$custom-light: #9c64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d9f",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 276.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43,
    "c": 0.19384,
    "h": 307.7
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#6D1D9F
secondary
#7FC454
accent
#EC3C80
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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