#6B1985#6B1985

#6B1985 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 316.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6B1985
RGBrgb(107, 25, 133)
HSLhsl(286, 68%, 31%)
HSVhsv(286, 81%, 52%)
CMYKcmyk(19.5%, 81.2%, 0%, 47.8%)
CIE-LABlab(28.15, 50.68, -42.44)
CIE-LCHlch(28.15, 66.11, 320.06°)
OKLaboklab(40.34% 0.125 -0.1197)
OKLCHoklch(40.34% 0.173 316.2)
XYZxyz(10.6440, 5.5150, 22.6896)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1985 #338519
analogous
#351985 #6B1985 #851969
triadic
#6B1985 #856B19 #19856B
tetradic
#6B1985 #853519 #338519 #196985
square
#6B1985 #853519 #338519 #196985
split-complementary
#6B1985 #698519 #198535
monochromatic
#18061E #420F51 #6B1985 #9423B9 #B53EDB

Accessibility & contrast

On white

9.99
#6B1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6B1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1985
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1985#FFFFFF#000000##FFFFFF
##6B19851.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#69324F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1985;
/* rgb */ color: rgb(107, 25, 133);
/* oklch */ color: oklch(40.3% 0.173 316.2);
Tailwind
colors: {
  custom: {
    50: '#9961a9',
    500: '#6b1985',
    950: '#000000',
  },
}
SCSS
$custom: #6b1985;
$custom-light: #9961a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1985",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 285.556,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.17304,
    "h": 316.2
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#6B1985
secondary
#5EB941
accent
#EB3D67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1985

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

Preview Lab → · Contrast checker → · Palette generator →

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