#6A1674#6A1674

#6A1674 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.161 H 323.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#6A1674
RGBrgb(106, 22, 116)
HSLhsl(294, 68%, 27%)
HSVhsv(294, 81%, 45%)
CMYKcmyk(8.6%, 81%, 0%, 54.5%)
CIE-LABlab(26.45, 48.12, -34.45)
CIE-LCHlch(26.45, 59.18, 324.40°)
OKLaboklab(38.72% 0.1286 -0.0963)
OKLCHoklch(38.72% 0.161 323.2)
XYZxyz(9.3829, 4.8995, 16.9711)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1674 #207416
analogous
#3B1674 #6A1674 #74164F
triadic
#6A1674 #746A16 #16746A
tetradic
#6A1674 #743B16 #207416 #164F74
square
#6A1674 #743B16 #207416 #164F74
split-complementary
#6A1674 #4F7416 #16743B
monochromatic
#18051A #3B0C41 #6A1674 #9920A7 #C52DD7

Accessibility & contrast

On white

10.61
#6A1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6A1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1674
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1674#FFFFFF#000000##FFFFFF
##6A16741.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#274272
Tritanopia (blue-blind)
#6C2945
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1674;
/* rgb */ color: rgb(106, 22, 116);
/* oklch */ color: oklch(38.7% 0.161 323.2);
Tailwind
colors: {
  custom: {
    50: '#985f9c',
    500: '#6a1674',
    950: '#000000',
  },
}
SCSS
$custom: #6a1674;
$custom-light: #985f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1674",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 293.617,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38717,
    "c": 0.16066,
    "h": 323.2
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#6A1674
secondary
#48AA3C
accent
#EB3D4F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1674

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

Preview Lab → · Contrast checker → · Palette generator →

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