#6F2E9B#6F2E9B

#6F2E9B is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.172 H 308.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6F2E9B
RGBrgb(111, 46, 155)
HSLhsl(276, 54%, 39%)
HSVhsv(276, 70%, 61%)
CMYKcmyk(28.4%, 70.3%, 0%, 39.2%)
CIE-LABlab(33.35, 47.82, -47.58)
CIE-LCHlch(33.35, 67.46, 315.14°)
OKLaboklab(44.65% 0.1062 -0.1348)
OKLCHoklch(44.65% 0.172 308.2)
XYZxyz(13.4477, 7.7003, 31.7819)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2E9B #5A9B2E
analogous
#392E9B #6F2E9B #9B2E91
triadic
#6F2E9B #9B6F2E #2E9B6F
tetradic
#6F2E9B #9B392E #5A9B2E #2E919B
square
#6F2E9B #9B392E #5A9B2E #2E919B
split-complementary
#6F2E9B #919B2E #2E9B39
monochromatic
#2B123D #4D206C #6F2E9B #9040C6 #AB6FD4

Accessibility & contrast

On white

8.27
#6F2E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6F2E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2E9B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2E9B#FFFFFF#000000##FFFFFF
##6F2E9B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#144F99
Tritanopia (blue-blind)
#684661
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2e9b;
/* rgb */ color: rgb(111, 46, 155);
/* oklch */ color: oklch(44.7% 0.172 308.2);
Tailwind
colors: {
  custom: {
    50: '#9c6cb9',
    500: '#6f2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #6f2e9b;
$custom-light: #9c6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2e9b",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 275.78,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44653,
    "c": 0.17162,
    "h": 308.2
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#6F2E9B
secondary
#8ABC69
accent
#DE4A86
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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