#6D1E9B#6D1E9B

#6D1E9B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.189 H 308.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6D1E9B
RGBrgb(109, 30, 155)
HSLhsl(278, 68%, 36%)
HSVhsv(278, 81%, 61%)
CMYKcmyk(29.7%, 80.6%, 0%, 39.2%)
CIE-LABlab(30.75, 54.01, -51.81)
CIE-LCHlch(30.75, 74.84, 316.19°)
OKLaboklab(42.76% 0.1188 -0.1472)
OKLCHoklch(42.76% 0.189 308.9)
XYZxyz(12.6861, 6.5465, 31.5993)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E9B #4C9B1E
analogous
#2F1E9B #6D1E9B #9B1E8B
triadic
#6D1E9B #9B6D1E #1E9B6D
tetradic
#6D1E9B #9B2F1E #4C9B1E #1E8B9B
square
#6D1E9B #9B2F1E #4C9B1E #1E8B9B
split-complementary
#6D1E9B #8B9B1E #1E9B2F
monochromatic
#250A34 #491468 #6D1E9B #9128CE #AC55DE

Accessibility & contrast

On white

9.09
#6D1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1E9B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E9B#FFFFFF#000000##FFFFFF
##6D1E9B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#663E5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1e9b;
/* rgb */ color: rgb(109, 30, 155);
/* oklch */ color: oklch(42.8% 0.189 308.9);
Tailwind
colors: {
  custom: {
    50: '#9c64b9',
    500: '#6d1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e9b;
$custom-light: #9c64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e9b",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 277.92,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42755,
    "c": 0.18915,
    "h": 308.9
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#6D1E9B
secondary
#7CC253
accent
#EA3D7D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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