#6A175F#6A175F

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

Color values

HEX#6A175F
RGBrgb(106, 23, 95)
HSLhsl(308, 64%, 25%)
HSVhsv(308, 78%, 42%)
CMYKcmyk(0%, 78.3%, 10.4%, 58.4%)
CIE-LABlab(25.27, 44.07, -22.71)
CIE-LCHlch(25.27, 49.58, 332.74°)
OKLaboklab(37.46% 0.128 -0.0622)
OKLCHoklch(37.46% 0.142 334.1)
XYZxyz(8.3159, 4.5039, 11.2556)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A175F #176A22
analogous
#4B176A #6A175F #6A1735
triadic
#6A175F #5F6A17 #175F6A
tetradic
#6A175F #6A4B17 #176A22 #17356A
square
#6A175F #6A4B17 #176A22 #17356A
split-complementary
#6A175F #356A17 #176A4B
monochromatic
#190517 #380C32 #6A175F #9C228C #CF2DB9

Accessibility & contrast

On white

11.05
#6A175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6A175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A175F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A175F#FFFFFF#000000##FFFFFF
##6A175F1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a175f;
/* rgb */ color: rgb(106, 23, 95);
/* oklch */ color: oklch(37.5% 0.142 334.1);
Tailwind
colors: {
  custom: {
    50: '#985e8c',
    500: '#6a175f',
    950: '#000000',
  },
}
SCSS
$custom: #6a175f;
$custom-light: #985e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a175f",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 307.952,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.14227,
    "h": 334.1
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#6A175F
secondary
#3DA04A
accent
#E75740
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A175F

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

Preview Lab → · Contrast checker → · Palette generator →

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