#6F1261#6F1261

#6F1261 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.152 H 335.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#6F1261
RGBrgb(111, 18, 97)
HSLhsl(309, 72%, 25%)
HSVhsv(309, 84%, 44%)
CMYKcmyk(0%, 83.8%, 12.6%, 56.5%)
CIE-LABlab(25.79, 47.17, -23.14)
CIE-LCHlch(25.79, 52.54, 333.87°)
OKLaboklab(38.05% 0.1381 -0.0633)
OKLCHoklch(38.05% 0.152 335.4)
XYZxyz(8.9297, 4.6760, 11.7392)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1261 #126F20
analogous
#4E126F #6F1261 #6F1233
triadic
#6F1261 #616F12 #12616F
tetradic
#6F1261 #6F4E12 #126F20 #12336F
square
#6F1261 #6F4E12 #126F20 #12336F
split-complementary
#6F1261 #336F12 #126F4E
monochromatic
#1A0417 #3A0933 #6F1261 #A41B8F #D823BD

Accessibility & contrast

On white

10.85
#6F1261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6F1261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1261
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1261#FFFFFF#000000##FFFFFF
##6F12611.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123463
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#751B39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6f1261;
/* rgb */ color: rgb(111, 18, 97);
/* oklch */ color: oklch(38.0% 0.152 335.4);
Tailwind
colors: {
  custom: {
    50: '#9c5d8e',
    500: '#6f1261',
    950: '#000000',
  },
}
SCSS
$custom: #6f1261;
$custom-light: #9c5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1261",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 309.032,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3805,
    "c": 0.15188,
    "h": 335.4
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#6F1261
secondary
#37A647
accent
#EF5439
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #6F1261

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

Preview Lab → · Contrast checker → · Palette generator →

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