#6E2895#6E2895

#6E2895 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.173 H 310.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6E2895
RGBrgb(110, 40, 149)
HSLhsl(279, 58%, 37%)
HSVhsv(279, 73%, 58%)
CMYKcmyk(26.2%, 73.2%, 0%, 41.6%)
CIE-LABlab(31.81, 48.94, -46.41)
CIE-LCHlch(31.81, 67.45, 316.52°)
OKLaboklab(43.39% 0.1121 -0.1314)
OKLCHoklch(43.39% 0.173 310.5)
XYZxyz(12.6130, 7.0028, 29.1152)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2895 #4F9528
analogous
#382895 #6E2895 #952886
triadic
#6E2895 #956E28 #28956E
tetradic
#6E2895 #953828 #4F9528 #288695
square
#6E2895 #953828 #4F9528 #288695
split-complementary
#6E2895 #869528 #289538
monochromatic
#270E35 #4A1B65 #6E2895 #9235C5 #AC62D5

Accessibility & contrast

On white

8.75
#6E2895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6E2895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2895
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2895#FFFFFF#000000##FFFFFF
##6E28951.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#144C93
Tritanopia (blue-blind)
#69405C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2895;
/* rgb */ color: rgb(110, 40, 149);
/* oklch */ color: oklch(43.4% 0.173 310.5);
Tailwind
colors: {
  custom: {
    50: '#9c69b5',
    500: '#6e2895',
    950: '#000000',
  },
}
SCSS
$custom: #6e2895;
$custom-light: #9c69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2895",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 278.532,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.17269,
    "h": 310.5
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#6E2895
secondary
#7FBB5E
accent
#E1477E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2895

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

Preview Lab → · Contrast checker → · Palette generator →

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