#6F2B97#6F2B97

#6F2B97 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.171 H 310.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6F2B97
RGBrgb(111, 43, 151)
HSLhsl(278, 56%, 38%)
HSVhsv(278, 72%, 59%)
CMYKcmyk(26.5%, 71.5%, 0%, 40.8%)
CIE-LABlab(32.57, 48.28, -46.40)
CIE-LCHlch(32.57, 66.96, 316.13°)
OKLaboklab(44.01% 0.11 -0.1313)
OKLCHoklch(44.01% 0.171 310)
XYZxyz(13.0042, 7.3419, 30.0042)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2B97 #53972B
analogous
#392B97 #6F2B97 #972B89
triadic
#6F2B97 #976F2B #2B976F
tetradic
#6F2B97 #97392B #53972B #2B8997
square
#6F2B97 #97392B #53972B #2B8997
split-complementary
#6F2B97 #89972B #2B9739
monochromatic
#291038 #4C1D67 #6F2B97 #9239C7 #AC68D4

Accessibility & contrast

On white

8.51
#6F2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2B97
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2B97#FFFFFF#000000##FFFFFF
##6F2B971.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#174E95
Tritanopia (blue-blind)
#69435E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2b97;
/* rgb */ color: rgb(111, 43, 151);
/* oklch */ color: oklch(44.0% 0.171 310.0);
Tailwind
colors: {
  custom: {
    50: '#9c6ab6',
    500: '#6f2b97',
    950: '#000000',
  },
}
SCSS
$custom: #6f2b97;
$custom-light: #9c6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2b97",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 277.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44007,
    "c": 0.1713,
    "h": 310
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#6F2B97
secondary
#84BB63
accent
#DF4980
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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