#6E1F63#6E1F63

#6E1F63 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 334.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#6E1F63
RGBrgb(110, 31, 99)
HSLhsl(308, 56%, 28%)
HSVhsv(308, 72%, 43%)
CMYKcmyk(0%, 71.8%, 10%, 56.9%)
CIE-LABlab(27.29, 42.76, -22.11)
CIE-LCHlch(27.29, 48.14, 332.66°)
OKLaboklab(39.13% 0.1239 -0.0604)
OKLCHoklch(39.13% 0.138 334)
XYZxyz(9.1726, 5.1966, 12.3219)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F63 #1F6E2A
analogous
#511F6E #6E1F63 #6E1F3C
triadic
#6E1F63 #636E1F #1F636E
tetradic
#6E1F63 #6E511F #1F6E2A #1F3C6E
square
#6E1F63 #6E511F #1F6E2A #1F3C6E
split-complementary
#6E1F63 #3C6E1F #1F6E51
monochromatic
#180715 #3E1238 #6E1F63 #9E2C8E #C93FB6

Accessibility & contrast

On white

10.30
#6E1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6E1F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F63
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F63#FFFFFF#000000##FFFFFF
##6E1F631.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3965
Deuteranopia (green-blind)
#394561
Tritanopia (blue-blind)
#73263E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e1f63;
/* rgb */ color: rgb(110, 31, 99);
/* oklch */ color: oklch(39.1% 0.138 334.0);
Tailwind
colors: {
  custom: {
    50: '#9a628f',
    500: '#6e1f63',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f63;
$custom-light: #9a628f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f63",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 308.354,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39128,
    "c": 0.13787,
    "h": 334
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#6E1F63
secondary
#47A253
accent
#DF5D48
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #6E1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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