#6B1D9F#6B1D9F

#6B1D9F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.193 H 306.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6B1D9F
RGBrgb(107, 29, 159)
HSLhsl(276, 69%, 37%)
HSVhsv(276, 82%, 62%)
CMYKcmyk(32.7%, 81.8%, 0%, 37.6%)
CIE-LABlab(30.66, 54.90, -54.41)
CIE-LCHlch(30.66, 77.29, 315.26°)
OKLaboklab(42.73% 0.1157 -0.1549)
OKLCHoklch(42.73% 0.193 306.8)
XYZxyz(12.7594, 6.5079, 33.3781)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D9F #519F1D
analogous
#2A1D9F #6B1D9F #9F1D92
triadic
#6B1D9F #9F6B1D #1D9F6B
tetradic
#6B1D9F #9F2A1D #519F1D #1D929F
square
#6B1D9F #9F2A1D #519F1D #1D929F
split-complementary
#6B1D9F #929F1D #1D9F2A
monochromatic
#250A37 #48146B #6B1D9F #8E26D3 #A956E0

Accessibility & contrast

On white

9.12
#6B1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6B1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1D9F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D9F#FFFFFF#000000##FFFFFF
##6B1D9F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1d9f;
/* rgb */ color: rgb(107, 29, 159);
/* oklch */ color: oklch(42.7% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#9b64bc',
    500: '#6b1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d9f;
$custom-light: #9b64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d9f",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 276,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.19334,
    "h": 306.8
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#6B1D9F
secondary
#81C454
accent
#EC3C82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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