#6A165F#6A165F

#6A165F is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.4% C 0.143 H 334.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#6A165F
RGBrgb(106, 22, 95)
HSLhsl(308, 66%, 25%)
HSVhsv(308, 79%, 42%)
CMYKcmyk(0%, 79.2%, 10.4%, 58.4%)
CIE-LABlab(25.15, 44.41, -22.89)
CIE-LCHlch(25.15, 49.97, 332.73°)
OKLaboklab(37.38% 0.129 -0.0627)
OKLCHoklch(37.38% 0.143 334.1)
XYZxyz(8.2964, 4.4649, 11.2491)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A165F #166A21
analogous
#4B166A #6A165F #6A1635
triadic
#6A165F #5F6A16 #165F6A
tetradic
#6A165F #6A4B16 #166A21 #16356A
square
#6A165F #6A4B16 #166A21 #16356A
split-complementary
#6A165F #356A16 #166A4B
monochromatic
#190517 #370B32 #6A165F #9D218C #CF2BBA

Accessibility & contrast

On white

11.09
#6A165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A165F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A165F#FFFFFF#000000##FFFFFF
##6A165F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a165f;
/* rgb */ color: rgb(106, 22, 95);
/* oklch */ color: oklch(37.4% 0.143 334.1);
Tailwind
colors: {
  custom: {
    50: '#985e8c',
    500: '#6a165f',
    950: '#000000',
  },
}
SCSS
$custom: #6a165f;
$custom-light: #985e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a165f",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 307.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37377,
    "c": 0.14342,
    "h": 334.1
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#6A165F
secondary
#3BA049
accent
#E9553F
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A165F

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

Preview Lab → · Contrast checker → · Palette generator →

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