#6A1D64#6A1D64

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

Color values

HEX#6A1D64
RGBrgb(106, 29, 100)
HSLhsl(305, 57%, 26%)
HSVhsv(305, 73%, 42%)
CMYKcmyk(0%, 72.6%, 5.7%, 58.4%)
CIE-LABlab(26.34, 42.68, -24.29)
CIE-LCHlch(26.34, 49.11, 330.36°)
OKLaboklab(38.32% 0.1218 -0.0668)
OKLCHoklch(38.32% 0.139 331.2)
XYZxyz(8.6835, 4.8637, 12.5356)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D64 #1D6A23
analogous
#4A1D6A #6A1D64 #6A1D3E
triadic
#6A1D64 #646A1D #1D646A
tetradic
#6A1D64 #6A4A1D #1D6A23 #1D3E6A
square
#6A1D64 #6A4A1D #1D6A23 #1D3E6A
split-complementary
#6A1D64 #3E6A1D #1D6A4A
monochromatic
#180717 #3A1037 #6A1D64 #9A2A91 #C939BE

Accessibility & contrast

On white

10.65
#6A1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D64
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D64#FFFFFF#000000##FFFFFF
##6A1D641.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173766
Deuteranopia (green-blind)
#344262
Tritanopia (blue-blind)
#6E263E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1d64;
/* rgb */ color: rgb(106, 29, 100);
/* oklch */ color: oklch(38.3% 0.139 331.2);
Tailwind
colors: {
  custom: {
    50: '#976190',
    500: '#6a1d64',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d64;
$custom-light: #976190;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d64",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 304.675,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.13889,
    "h": 331.2
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#6A1D64
secondary
#449F4B
accent
#E05348
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #6A1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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