#6F2F99#6F2F99

#6F2F99 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.168 H 308.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6F2F99
RGBrgb(111, 47, 153)
HSLhsl(276, 53%, 39%)
HSVhsv(276, 69%, 60%)
CMYKcmyk(27.5%, 69.3%, 0%, 40%)
CIE-LABlab(33.38, 46.88, -46.32)
CIE-LCHlch(33.38, 65.91, 315.34°)
OKLaboklab(44.63% 0.1053 -0.1311)
OKLCHoklch(44.63% 0.168 308.8)
XYZxyz(13.3207, 7.7127, 30.9178)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2F99 #59992F
analogous
#3A2F99 #6F2F99 #992F8E
triadic
#6F2F99 #996F2F #2F996F
tetradic
#6F2F99 #993A2F #59992F #2F8E99
square
#6F2F99 #993A2F #59992F #2F8E99
split-complementary
#6F2F99 #8E992F #2F993A
monochromatic
#2B123B #4D216A #6F2F99 #9041C5 #AC6FD3

Accessibility & contrast

On white

8.26
#6F2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2F99
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2F99#FFFFFF#000000##FFFFFF
##6F2F991.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#1A4F97
Tritanopia (blue-blind)
#694660
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2f99;
/* rgb */ color: rgb(111, 47, 153);
/* oklch */ color: oklch(44.6% 0.168 308.8);
Tailwind
colors: {
  custom: {
    50: '#9c6db8',
    500: '#6f2f99',
    950: '#000000',
  },
}
SCSS
$custom: #6f2f99;
$custom-light: #9c6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2f99",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 276.226,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.16818,
    "h": 308.8
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#6F2F99
secondary
#8ABA69
accent
#DC4B85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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