#6D1BA0#6D1BA0

#6D1BA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.197 H 307.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6D1BA0
RGBrgb(109, 27, 160)
HSLhsl(277, 71%, 37%)
HSVhsv(277, 83%, 63%)
CMYKcmyk(31.9%, 83.1%, 0%, 37.3%)
CIE-LABlab(30.82, 56.11, -54.75)
CIE-LCHlch(30.82, 78.39, 315.70°)
OKLaboklab(42.93% 0.1198 -0.1558)
OKLCHoklch(42.93% 0.197 307.5)
XYZxyz(13.0424, 6.5733, 33.8326)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1BA0 #4EA01B
analogous
#2A1BA0 #6D1BA0 #A01B91
triadic
#6D1BA0 #A06D1B #1BA06D
tetradic
#6D1BA0 #A02A1B #4EA01B #1B91A0
square
#6D1BA0 #A02A1B #4EA01B #1B91A0
split-complementary
#6D1BA0 #91A01B #1BA02A
monochromatic
#260937 #49126C #6D1BA0 #9124D4 #AB53E2

Accessibility & contrast

On white

9.07
#6D1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6D1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1BA0
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1BA0#FFFFFF#000000##FFFFFF
##6D1BA01.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#643F5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1ba0;
/* rgb */ color: rgb(109, 27, 160);
/* oklch */ color: oklch(42.9% 0.197 307.5);
Tailwind
colors: {
  custom: {
    50: '#9c63bd',
    500: '#6d1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ba0;
$custom-light: #9c63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ba0",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 276.992,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.19651,
    "h": 307.5
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#6D1BA0
secondary
#7EC552
accent
#EE3A7F
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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