#6A1767#6A1767

#6A1767 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.9% C 0.149 H 329.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#6A1767
RGBrgb(106, 23, 103)
HSLhsl(302, 64%, 25%)
HSVhsv(302, 78%, 42%)
CMYKcmyk(0%, 78.3%, 2.8%, 58.4%)
CIE-LABlab(25.73, 45.43, -27.20)
CIE-LCHlch(25.73, 52.96, 329.09°)
OKLaboklab(37.94% 0.1283 -0.0752)
OKLCHoklch(37.94% 0.149 329.6)
XYZxyz(8.6984, 4.6569, 13.2701)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1767 #176A1A
analogous
#44176A #6A1767 #6A173D
triadic
#6A1767 #676A17 #17676A
tetradic
#6A1767 #6A4417 #176A1A #173D6A
square
#6A1767 #6A4417 #176A1A #173D6A
split-complementary
#6A1767 #3D6A17 #176A44
monochromatic
#190518 #380C36 #6A1767 #9C2298 #CF2DC9

Accessibility & contrast

On white

10.87
#6A1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6A1767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1767
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1767#FFFFFF#000000##FFFFFF
##6A17671.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3669
Deuteranopia (green-blind)
#304165
Tritanopia (blue-blind)
#6E233E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1767;
/* rgb */ color: rgb(106, 23, 103);
/* oklch */ color: oklch(37.9% 0.149 329.6);
Tailwind
colors: {
  custom: {
    50: '#985e93',
    500: '#6a1767',
    950: '#000000',
  },
}
SCSS
$custom: #6a1767;
$custom-light: #985e93;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1767",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 302.169,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37944,
    "c": 0.14869,
    "h": 329.6
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#6A1767
secondary
#3DA040
accent
#E74640
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1767

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

Preview Lab → · Contrast checker → · Palette generator →

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