#6F1267#6F1267

#6F1267 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.156 H 332.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#6F1267
RGBrgb(111, 18, 103)
HSLhsl(305, 72%, 25%)
HSVhsv(305, 84%, 44%)
CMYKcmyk(0%, 83.8%, 7.2%, 56.5%)
CIE-LABlab(26.13, 48.13, -26.51)
CIE-LCHlch(26.13, 54.94, 331.15°)
OKLaboklab(38.41% 0.1383 -0.073)
OKLCHoklch(38.41% 0.156 332.2)
XYZxyz(9.2201, 4.7922, 13.2687)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1267 #126F1A
analogous
#48126F #6F1267 #6F1239
triadic
#6F1267 #676F12 #12676F
tetradic
#6F1267 #6F4812 #126F1A #12396F
square
#6F1267 #6F4812 #126F1A #12396F
split-complementary
#6F1267 #396F12 #126F48
monochromatic
#1A0418 #3A0936 #6F1267 #A41B98 #D823C9

Accessibility & contrast

On white

10.72
#6F1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6F1267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1267
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1267#FFFFFF#000000##FFFFFF
##6F12671.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093669
Deuteranopia (green-blind)
#334265
Tritanopia (blue-blind)
#741E3D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f1267;
/* rgb */ color: rgb(111, 18, 103);
/* oklch */ color: oklch(38.4% 0.156 332.2);
Tailwind
colors: {
  custom: {
    50: '#9c5d93',
    500: '#6f1267',
    950: '#000000',
  },
}
SCSS
$custom: #6f1267;
$custom-light: #9c5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1267",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 305.161,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38407,
    "c": 0.15637,
    "h": 332.2
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#6F1267
secondary
#37A640
accent
#EF4939
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F1267

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

Preview Lab → · Contrast checker → · Palette generator →

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