#6E2F8D#6E2F8D

#6E2F8D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.155 H 312.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6E2F8D
RGBrgb(110, 47, 141)
HSLhsl(280, 50%, 37%)
HSVhsv(280, 67%, 55%)
CMYKcmyk(22%, 66.7%, 0%, 44.7%)
CIE-LABlab(32.42, 43.90, -40.53)
CIE-LCHlch(32.42, 59.74, 317.29°)
OKLaboklab(43.65% 0.105 -0.1141)
OKLCHoklch(43.65% 0.155 312.6)
XYZxyz(12.2538, 7.2714, 25.9522)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2F8D #4E8D2F
analogous
#3F2F8D #6E2F8D #8D2F7D
triadic
#6E2F8D #8D6E2F #2F8D6E
tetradic
#6E2F8D #8D3F2F #4E8D2F #2F7D8D
square
#6E2F8D #8D3F2F #4E8D2F #2F7D8D
split-complementary
#6E2F8D #7D8D2F #2F8D3F
monochromatic
#261031 #4A205F #6E2F8D #923EBB #AC69CD

Accessibility & contrast

On white

8.56
#6E2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6E2F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2F8D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2F8D#FFFFFF#000000##FFFFFF
##6E2F8D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#6B415A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e2f8d;
/* rgb */ color: rgb(110, 47, 141);
/* oklch */ color: oklch(43.6% 0.155 312.6);
Tailwind
colors: {
  custom: {
    50: '#9b6caf',
    500: '#6e2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e2f8d;
$custom-light: #9b6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2f8d",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 280.213,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43646,
    "c": 0.15506,
    "h": 312.6
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#6E2F8D
secondary
#7EB464
accent
#DA4E7C
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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