#6A165E#6A165E

#6A165E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.143 H 334.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#6A165E
RGBrgb(106, 22, 94)
HSLhsl(309, 66%, 25%)
HSVhsv(309, 79%, 42%)
CMYKcmyk(0%, 79.2%, 11.3%, 58.4%)
CIE-LABlab(25.10, 44.25, -22.32)
CIE-LCHlch(25.10, 49.56, 333.23°)
OKLaboklab(37.32% 0.1289 -0.0611)
OKLCHoklch(37.32% 0.143 334.6)
XYZxyz(8.2512, 4.4469, 11.0113)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A165E #166A22
analogous
#4C166A #6A165E #6A1634
triadic
#6A165E #5E6A16 #165E6A
tetradic
#6A165E #6A4C16 #166A22 #16346A
square
#6A165E #6A4C16 #166A22 #16346A
split-complementary
#6A165E #346A16 #166A4C
monochromatic
#190516 #370B31 #6A165E #9D218B #CF2BB8

Accessibility & contrast

On white

11.12
#6A165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6A165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A165E
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A165E#FFFFFF#000000##FFFFFF
##6A165E1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#34405C
Tritanopia (blue-blind)
#6F1E39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a165e;
/* rgb */ color: rgb(106, 22, 94);
/* oklch */ color: oklch(37.3% 0.143 334.6);
Tailwind
colors: {
  custom: {
    50: '#985e8c',
    500: '#6a165e',
    950: '#000000',
  },
}
SCSS
$custom: #6a165e;
$custom-light: #985e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a165e",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 308.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37319,
    "c": 0.14264,
    "h": 334.6
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#6A165E
secondary
#3BA04A
accent
#E9573F
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A165E

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

Preview Lab → · Contrast checker → · Palette generator →

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