#6F2E97#6F2E97

#6F2E97 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.167 H 309.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6F2E97
RGBrgb(111, 46, 151)
HSLhsl(277, 53%, 39%)
HSVhsv(277, 70%, 59%)
CMYKcmyk(26.5%, 69.5%, 0%, 40.8%)
CIE-LABlab(33.07, 46.89, -45.60)
CIE-LCHlch(33.07, 65.41, 315.80°)
OKLaboklab(44.36% 0.1067 -0.129)
OKLCHoklch(44.36% 0.167 309.6)
XYZxyz(13.1174, 7.5681, 30.0419)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2E97 #56972E
analogous
#3A2E97 #6F2E97 #972E8A
triadic
#6F2E97 #976F2E #2E976F
tetradic
#6F2E97 #973A2E #56972E #2E8A97
square
#6F2E97 #973A2E #56972E #2E8A97
split-complementary
#6F2E97 #8A972E #2E973A
monochromatic
#2A1139 #4D2068 #6F2E97 #913EC4 #AC6DD2

Accessibility & contrast

On white

8.35
#6F2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6F2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2E97
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2E97#FFFFFF#000000##FFFFFF
##6F2E971.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#69445F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2e97;
/* rgb */ color: rgb(111, 46, 151);
/* oklch */ color: oklch(44.4% 0.167 309.6);
Tailwind
colors: {
  custom: {
    50: '#9c6cb6',
    500: '#6f2e97',
    950: '#000000',
  },
}
SCSS
$custom: #6f2e97;
$custom-light: #9c6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2e97",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 277.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4436,
    "c": 0.1674,
    "h": 309.6
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#6F2E97
secondary
#87BA67
accent
#DD4B83
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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