#6F1985#6F1985

#6F1985 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.175 H 318.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6F1985
RGBrgb(111, 25, 133)
HSLhsl(288, 68%, 31%)
HSVhsv(288, 81%, 52%)
CMYKcmyk(16.5%, 81.2%, 0%, 47.8%)
CIE-LABlab(28.82, 51.47, -41.34)
CIE-LCHlch(28.82, 66.01, 321.23°)
OKLaboklab(40.94% 0.1301 -0.1163)
OKLCHoklch(40.94% 0.175 318.2)
XYZxyz(11.1362, 5.7687, 22.7126)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1985 #2F8519
analogous
#391985 #6F1985 #851965
triadic
#6F1985 #856F19 #19856F
tetradic
#6F1985 #853919 #2F8519 #196585
square
#6F1985 #853919 #2F8519 #196585
split-complementary
#6F1985 #658519 #198539
monochromatic
#19061E #440F51 #6F1985 #9A23B9 #BB3EDB

Accessibility & contrast

On white

9.75
#6F1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6F1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1985
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1985#FFFFFF#000000##FFFFFF
##6F19851.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#1E4783
Tritanopia (blue-blind)
#6E314F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1985;
/* rgb */ color: rgb(111, 25, 133);
/* oklch */ color: oklch(40.9% 0.175 318.2);
Tailwind
colors: {
  custom: {
    50: '#9c61a9',
    500: '#6f1985',
    950: '#000000',
  },
}
SCSS
$custom: #6f1985;
$custom-light: #9c61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1985",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 287.778,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.17453,
    "h": 318.2
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#6F1985
secondary
#59B941
accent
#EB3D60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1985

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

Preview Lab → · Contrast checker → · Palette generator →

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