#6D1B95#6D1B95

#6D1B95 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.186 H 311.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6D1B95
RGBrgb(109, 27, 149)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 82%, 58%)
CMYKcmyk(26.8%, 81.9%, 0%, 41.6%)
CIE-LABlab(29.92, 53.73, -49.48)
CIE-LCHlch(29.92, 73.04, 317.36°)
OKLaboklab(42.03% 0.1227 -0.1403)
OKLCHoklch(42.03% 0.186 311.2)
XYZxyz(12.1224, 6.2053, 28.9871)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B95 #43951B
analogous
#301B95 #6D1B95 #951B80
triadic
#6D1B95 #956D1B #1B956D
tetradic
#6D1B95 #95301B #43951B #1B8095
square
#6D1B95 #95301B #43951B #1B8095
split-complementary
#6D1B95 #80951B #1B9530
monochromatic
#21082D #471261 #6D1B95 #9324C9 #AE4CDF

Accessibility & contrast

On white

9.37
#6D1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6D1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B95
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B95#FFFFFF#000000##FFFFFF
##6D1B951.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#683A59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1b95;
/* rgb */ color: rgb(109, 27, 149);
/* oklch */ color: oklch(42.0% 0.186 311.2);
Tailwind
colors: {
  custom: {
    50: '#9c63b5',
    500: '#6d1b95',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b95;
$custom-light: #9c63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b95",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 280.328,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.18637,
    "h": 311.2
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#6D1B95
secondary
#72C14B
accent
#EC3C76
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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