#6B1D64#6B1D64

#6B1D64 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.139 H 331.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#6B1D64
RGBrgb(107, 29, 100)
HSLhsl(305, 57%, 27%)
HSVhsv(305, 73%, 42%)
CMYKcmyk(0%, 72.9%, 6.5%, 58%)
CIE-LABlab(26.52, 42.94, -24.00)
CIE-LCHlch(26.52, 49.19, 330.80°)
OKLaboklab(38.49% 0.1229 -0.0659)
OKLCHoklch(38.49% 0.139 331.8)
XYZxyz(8.8030, 4.9253, 12.5412)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D64 #1D6B24
analogous
#4B1D6B #6B1D64 #6B1D3D
triadic
#6B1D64 #646B1D #1D646B
tetradic
#6B1D64 #6B4B1D #1D6B24 #1D3D6B
square
#6B1D64 #6B4B1D #1D6B24 #1D3D6B
split-complementary
#6B1D64 #3D6B1D #1D6B4B
monochromatic
#180716 #3B1037 #6B1D64 #9B2A91 #C939BC

Accessibility & contrast

On white

10.58
#6B1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6B1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1D64
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D64#FFFFFF#000000##FFFFFF
##6B1D641.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183866
Deuteranopia (green-blind)
#354362
Tritanopia (blue-blind)
#70253E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1d64;
/* rgb */ color: rgb(107, 29, 100);
/* oklch */ color: oklch(38.5% 0.139 331.8);
Tailwind
colors: {
  custom: {
    50: '#986190',
    500: '#6b1d64',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d64;
$custom-light: #986190;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d64",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 305.385,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38488,
    "c": 0.13949,
    "h": 331.8
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#6B1D64
secondary
#44A04C
accent
#E15547
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #6B1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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