#6F1268#6F1268

#6F1268 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.157 H 331.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#6F1268
RGBrgb(111, 18, 104)
HSLhsl(305, 72%, 25%)
HSVhsv(305, 84%, 44%)
CMYKcmyk(0%, 83.8%, 6.3%, 56.5%)
CIE-LABlab(26.19, 48.29, -27.07)
CIE-LCHlch(26.19, 55.36, 330.73°)
OKLaboklab(38.47% 0.1383 -0.0746)
OKLCHoklch(38.47% 0.157 331.6)
XYZxyz(9.2706, 4.8124, 13.5346)
Luminance0.0481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1268 #126F19
analogous
#47126F #6F1268 #6F1239
triadic
#6F1268 #686F12 #12686F
tetradic
#6F1268 #6F4712 #126F19 #12396F
square
#6F1268 #6F4712 #126F19 #12396F
split-complementary
#6F1268 #396F12 #126F47
monochromatic
#1A0419 #3A0937 #6F1268 #A41B99 #D823CB

Accessibility & contrast

On white

10.70
#6F1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1268
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1268#FFFFFF#000000##FFFFFF
##6F12681.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366A
Deuteranopia (green-blind)
#324266
Tritanopia (blue-blind)
#741F3D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f1268;
/* rgb */ color: rgb(111, 18, 104);
/* oklch */ color: oklch(38.5% 0.157 331.6);
Tailwind
colors: {
  custom: {
    50: '#9c5d93',
    500: '#6f1268',
    950: '#000000',
  },
}
SCSS
$custom: #6f1268;
$custom-light: #9c5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1268",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 304.516,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38468,
    "c": 0.15714,
    "h": 331.6
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#6F1268
secondary
#37A63F
accent
#EF4739
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F1268

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

Preview Lab → · Contrast checker → · Palette generator →

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