#6F2E91#6F2E91

#6F2E91 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.161 H 311.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6F2E91
RGBrgb(111, 46, 145)
HSLhsl(279, 52%, 37%)
HSVhsv(279, 68%, 57%)
CMYKcmyk(23.4%, 68.3%, 0%, 43.1%)
CIE-LABlab(32.65, 45.52, -42.60)
CIE-LCHlch(32.65, 62.34, 316.90°)
OKLaboklab(43.93% 0.1072 -0.1202)
OKLCHoklch(43.93% 0.161 311.7)
XYZxyz(12.6424, 7.3782, 27.5407)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2E91 #50912E
analogous
#3E2E91 #6F2E91 #912E81
triadic
#6F2E91 #916F2E #2E916F
tetradic
#6F2E91 #913E2E #50912E #2E8191
square
#6F2E91 #913E2E #50912E #2E8191
split-complementary
#6F2E91 #81912E #2E913E
monochromatic
#281134 #4B1F63 #6F2E91 #933DBF #AD6AD0

Accessibility & contrast

On white

8.48
#6F2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6F2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2E91
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2E91#FFFFFF#000000##FFFFFF
##6F2E911.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#6B425B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2e91;
/* rgb */ color: rgb(111, 46, 145);
/* oklch */ color: oklch(43.9% 0.161 311.7);
Tailwind
colors: {
  custom: {
    50: '#9c6cb2',
    500: '#6f2e91',
    950: '#000000',
  },
}
SCSS
$custom: #6f2e91;
$custom-light: #9c6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2e91",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 279.394,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.16106,
    "h": 311.7
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#6F2E91
secondary
#80B764
accent
#DB4D7E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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