#6F1B68#6F1B68

#6F1B68 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.148 H 331.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#6F1B68
RGBrgb(111, 27, 104)
HSLhsl(305, 61%, 27%)
HSVhsv(305, 76%, 44%)
CMYKcmyk(0%, 75.7%, 6.3%, 56.5%)
CIE-LABlab(27.20, 45.41, -25.48)
CIE-LCHlch(27.20, 52.07, 330.70°)
OKLaboklab(39.18% 0.1299 -0.0701)
OKLCHoklch(39.18% 0.148 331.7)
XYZxyz(9.4462, 5.1636, 13.5932)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B68 #1B6F22
analogous
#4C1B6F #6F1B68 #6F1B3E
triadic
#6F1B68 #686F1B #1B686F
tetradic
#6F1B68 #6F4C1B #1B6F22 #1B3E6F
square
#6F1B68 #6F4C1B #1B6F22 #1B3E6F
split-complementary
#6F1B68 #3E6F1B #1B6F4C
monochromatic
#190617 #3E0F3A #6F1B68 #A02796 #CE36C2

Accessibility & contrast

On white

10.33
#6F1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6F1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B68
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B68#FFFFFF#000000##FFFFFF
##6F1B681.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15396A
Deuteranopia (green-blind)
#364466
Tritanopia (blue-blind)
#74253F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1b68;
/* rgb */ color: rgb(111, 27, 104);
/* oklch */ color: oklch(39.2% 0.148 331.7);
Tailwind
colors: {
  custom: {
    50: '#9b6193',
    500: '#6f1b68',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b68;
$custom-light: #9b6193;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b68",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 305,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.14765,
    "h": 331.7
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#6F1B68
secondary
#42A44A
accent
#E45144
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #6F1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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