#6F2180#6F2180

#6F2180 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.161 H 319.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6F2180
RGBrgb(111, 33, 128)
HSLhsl(289, 59%, 32%)
HSVhsv(289, 74%, 50%)
CMYKcmyk(13.3%, 74.2%, 0%, 49.8%)
CIE-LABlab(29.48, 47.60, -37.15)
CIE-LCHlch(29.48, 60.38, 322.03°)
OKLaboklab(41.3% 0.1232 -0.1041)
OKLCHoklch(41.3% 0.161 319.8)
XYZxyz(10.9952, 6.0263, 21.0019)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2180 #328021
analogous
#402180 #6F2180 #802162
triadic
#6F2180 #806F21 #21806F
tetradic
#6F2180 #804021 #328021 #216280
square
#6F2180 #804021 #328021 #216280
split-complementary
#6F2180 #628021 #218040
monochromatic
#1B081F #45144F #6F2180 #992EB1 #B94BD1

Accessibility & contrast

On white

9.52
#6F2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2180
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2180#FFFFFF#000000##FFFFFF
##6F21801.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#29487E
Tritanopia (blue-blind)
#6F334E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f2180;
/* rgb */ color: rgb(111, 33, 128);
/* oklch */ color: oklch(41.3% 0.161 319.8);
Tailwind
colors: {
  custom: {
    50: '#9c64a5',
    500: '#6f2180',
    950: '#000000',
  },
}
SCSS
$custom: #6f2180;
$custom-light: #9c64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2180",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 289.263,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.16129,
    "h": 319.8
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#6F2180
secondary
#5DB34A
accent
#E24662
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F2180

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

Preview Lab → · Contrast checker → · Palette generator →

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