#6E2E91#6E2E91

#6E2E91 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.161 H 311.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6E2E91
RGBrgb(110, 46, 145)
HSLhsl(279, 52%, 37%)
HSVhsv(279, 68%, 57%)
CMYKcmyk(24.1%, 68.3%, 0%, 43.1%)
CIE-LABlab(32.51, 45.29, -42.84)
CIE-LCHlch(32.51, 62.34, 316.59°)
OKLaboklab(43.8% 0.1059 -0.1209)
OKLCHoklch(43.8% 0.161 311.2)
XYZxyz(12.5173, 7.3136, 27.5349)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2E91 #51912E
analogous
#3D2E91 #6E2E91 #912E82
triadic
#6E2E91 #916E2E #2E916E
tetradic
#6E2E91 #913D2E #51912E #2E8291
square
#6E2E91 #913D2E #51912E #2E8291
split-complementary
#6E2E91 #82912E #2E913D
monochromatic
#281134 #4B1F63 #6E2E91 #913DBF #AC6AD0

Accessibility & contrast

On white

8.53
#6E2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6E2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2E91
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2E91#FFFFFF#000000##FFFFFF
##6E2E911.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#224E8F
Tritanopia (blue-blind)
#6A425B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e2e91;
/* rgb */ color: rgb(110, 46, 145);
/* oklch */ color: oklch(43.8% 0.161 311.2);
Tailwind
colors: {
  custom: {
    50: '#9b6cb2',
    500: '#6e2e91',
    950: '#000000',
  },
}
SCSS
$custom: #6e2e91;
$custom-light: #9b6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2e91",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 278.788,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.16072,
    "h": 311.2
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#6E2E91
secondary
#81B764
accent
#DB4D7F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6E2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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