#6E1F68#6E1F68

#6E1F68 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.142 H 331.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6E1F68
RGBrgb(110, 31, 104)
HSLhsl(305, 56%, 28%)
HSVhsv(305, 72%, 43%)
CMYKcmyk(0%, 71.8%, 5.5%, 56.9%)
CIE-LABlab(27.56, 43.62, -24.92)
CIE-LCHlch(27.56, 50.24, 330.26°)
OKLaboklab(39.41% 0.1244 -0.0685)
OKLCHoklch(39.41% 0.142 331.1)
XYZxyz(9.4191, 5.2952, 13.6200)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F68 #1F6E25
analogous
#4C1F6E #6E1F68 #6E1F40
triadic
#6E1F68 #686E1F #1F686E
tetradic
#6E1F68 #6E4C1F #1F6E25 #1F406E
square
#6E1F68 #6E4C1F #1F6E25 #1F406E
split-complementary
#6E1F68 #406E1F #1F6E4C
monochromatic
#180717 #3E123B #6E1F68 #9E2C95 #C93FBE

Accessibility & contrast

On white

10.20
#6E1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6E1F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F68
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F68#FFFFFF#000000##FFFFFF
##6E1F681.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#364566
Tritanopia (blue-blind)
#732841
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1f68;
/* rgb */ color: rgb(110, 31, 104);
/* oklch */ color: oklch(39.4% 0.142 331.1);
Tailwind
colors: {
  custom: {
    50: '#9a6293',
    500: '#6e1f68',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f68;
$custom-light: #9a6293;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f68",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 304.557,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.142,
    "h": 331.1
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#6E1F68
secondary
#47A24E
accent
#DF5448
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6E1F68

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

Preview Lab → · Contrast checker → · Palette generator →

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