#6A1074#6A1074

#6A1074 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.166 H 323.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#6A1074
RGBrgb(106, 16, 116)
HSLhsl(294, 76%, 26%)
HSVhsv(294, 86%, 45%)
CMYKcmyk(8.6%, 86.2%, 0%, 54.5%)
CIE-LABlab(25.85, 49.85, -35.40)
CIE-LCHlch(25.85, 61.14, 324.62°)
OKLaboklab(38.3% 0.1333 -0.099)
OKLCHoklch(38.3% 0.166 323.4)
XYZxyz(9.2812, 4.6963, 16.9372)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1074 #1A7410
analogous
#381074 #6A1074 #74104C
triadic
#6A1074 #746A10 #10746A
tetradic
#6A1074 #743810 #1A7410 #104C74
square
#6A1074 #743810 #1A7410 #104C74
split-complementary
#6A1074 #4C7410 #107438
monochromatic
#19041B #39093E #6A1074 #9B17AA #CC1FE0

Accessibility & contrast

On white

10.83
#6A1074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6A1074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1074
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1074#FFFFFF#000000##FFFFFF
##6A10741.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#6C2644
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1074;
/* rgb */ color: rgb(106, 16, 116);
/* oklch */ color: oklch(38.3% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#985d9c',
    500: '#6a1074',
    950: '#000000',
  },
}
SCSS
$custom: #6a1074;
$custom-light: #985d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1074",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 294,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.16607,
    "h": 323.4
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#6A1074
secondary
#40AB35
accent
#F23548
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1074

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

Preview Lab → · Contrast checker → · Palette generator →

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