#6A1663#6A1663

#6A1663 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.147 H 331.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#6A1663
RGBrgb(106, 22, 99)
HSLhsl(305, 66%, 25%)
HSVhsv(305, 79%, 42%)
CMYKcmyk(0%, 79.2%, 6.6%, 58.4%)
CIE-LABlab(25.38, 45.08, -25.16)
CIE-LCHlch(25.38, 51.63, 330.84°)
OKLaboklab(37.61% 0.1292 -0.0693)
OKLCHoklch(37.61% 0.147 331.8)
XYZxyz(8.4829, 4.5395, 12.2314)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1663 #166A1D
analogous
#47166A #6A1663 #6A1639
triadic
#6A1663 #636A16 #16636A
tetradic
#6A1663 #6A4716 #166A1D #16396A
square
#6A1663 #6A4716 #166A1D #16396A
split-complementary
#6A1663 #396A16 #166A47
monochromatic
#190518 #370B34 #6A1663 #9D2192 #CF2BC2

Accessibility & contrast

On white

11.01
#6A1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6A1663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1663
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1663#FFFFFF#000000##FFFFFF
##6A16631.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3565
Deuteranopia (green-blind)
#324061
Tritanopia (blue-blind)
#6F203B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a1663;
/* rgb */ color: rgb(106, 22, 99);
/* oklch */ color: oklch(37.6% 0.147 331.8);
Tailwind
colors: {
  custom: {
    50: '#985e90',
    500: '#6a1663',
    950: '#000000',
  },
}
SCSS
$custom: #6a1663;
$custom-light: #985e90;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1663",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 305,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37614,
    "c": 0.14656,
    "h": 331.8
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#6A1663
secondary
#3BA044
accent
#E94D3F
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1663

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

Preview Lab → · Contrast checker → · Palette generator →

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