#6E1674#6E1674

#6E1674 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.162 H 325.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6E1674
RGBrgb(110, 22, 116)
HSLhsl(296, 68%, 27%)
HSVhsv(296, 81%, 45%)
CMYKcmyk(5.2%, 81%, 0%, 54.5%)
CIE-LABlab(27.16, 48.98, -33.27)
CIE-LCHlch(27.16, 59.21, 325.81°)
OKLaboklab(39.36% 0.1334 -0.0927)
OKLCHoklch(39.36% 0.162 325.2)
XYZxyz(9.8695, 5.1504, 16.9939)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1674 #1C7416
analogous
#3F1674 #6E1674 #74164B
triadic
#6E1674 #746E16 #16746E
tetradic
#6E1674 #743F16 #1C7416 #164B74
square
#6E1674 #743F16 #1C7416 #164B74
split-complementary
#6E1674 #4B7416 #16743F
monochromatic
#18051A #3D0C41 #6E1674 #9F20A7 #CC2DD7

Accessibility & contrast

On white

10.34
#6E1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6E1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1674
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1674#FFFFFF#000000##FFFFFF
##6E16741.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#2B4472
Tritanopia (blue-blind)
#712845
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e1674;
/* rgb */ color: rgb(110, 22, 116);
/* oklch */ color: oklch(39.4% 0.162 325.2);
Tailwind
colors: {
  custom: {
    50: '#9b5f9c',
    500: '#6e1674',
    950: '#000000',
  },
}
SCSS
$custom: #6e1674;
$custom-light: #9b5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1674",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 296.17,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3936,
    "c": 0.16247,
    "h": 325.2
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#6E1674
secondary
#43AA3C
accent
#EB3D48
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1674

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

Preview Lab → · Contrast checker → · Palette generator →

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