#6B1972#6B1972

#6B1972 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.156 H 324.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6B1972
RGBrgb(107, 25, 114)
HSLhsl(295, 64%, 27%)
HSVhsv(295, 78%, 45%)
CMYKcmyk(6.1%, 78.1%, 0%, 55.3%)
CIE-LABlab(26.84, 46.97, -32.53)
CIE-LCHlch(26.84, 57.13, 325.29°)
OKLaboklab(38.99% 0.1272 -0.0907)
OKLCHoklch(38.99% 0.156 324.5)
XYZxyz(9.4481, 5.0366, 16.3908)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1972 #207219
analogous
#3F1972 #6B1972 #72194D
triadic
#6B1972 #726B19 #19726B
tetradic
#6B1972 #723F19 #207219 #194D72
square
#6B1972 #723F19 #207219 #194D72
split-complementary
#6B1972 #4D7219 #19723F
monochromatic
#180619 #3C0E40 #6B1972 #9A24A4 #C633D2

Accessibility & contrast

On white

10.46
#6B1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6B1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1972
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1972#FFFFFF#000000##FFFFFF
##6B19721.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#6D2944
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1972;
/* rgb */ color: rgb(107, 25, 114);
/* oklch */ color: oklch(39.0% 0.156 324.5);
Tailwind
colors: {
  custom: {
    50: '#99609b',
    500: '#6b1972',
    950: '#000000',
  },
}
SCSS
$custom: #6b1972;
$custom-light: #99609b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1972",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 295.281,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.15625,
    "h": 324.5
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#6B1972
secondary
#48A740
accent
#E7414E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1972

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

Preview Lab → · Contrast checker → · Palette generator →

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