#6F2D9F#6F2D9F

#6F2D9F is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.177 H 307.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6F2D9F
RGBrgb(111, 45, 159)
HSLhsl(275, 56%, 40%)
HSVhsv(275, 72%, 62%)
CMYKcmyk(30.2%, 71.7%, 0%, 37.6%)
CIE-LABlab(33.48, 49.22, -49.80)
CIE-LCHlch(33.48, 70.02, 314.66°)
OKLaboklab(44.84% 0.1067 -0.1413)
OKLCHoklch(44.84% 0.177 307.1)
XYZxyz(13.7506, 7.7596, 33.5675)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2D9F #5D9F2D
analogous
#362D9F #6F2D9F #9F2D96
triadic
#6F2D9F #9F6F2D #2D9F6F
tetradic
#6F2D9F #9F362D #5D9F2D #2D969F
square
#6F2D9F #9F362D #5D9F2D #2D969F
split-complementary
#6F2D9F #969F2D #2D9F36
monochromatic
#2C1240 #4E206F #6F2D9F #8F40C9 #AB70D6

Accessibility & contrast

On white

8.23
#6F2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2D9F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2D9F#FFFFFF#000000##FFFFFF
##6F2D9F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#064F9D
Tritanopia (blue-blind)
#674763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2d9f;
/* rgb */ color: rgb(111, 45, 159);
/* oklch */ color: oklch(44.8% 0.177 307.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cbc',
    500: '#6f2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #6f2d9f;
$custom-light: #9d6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2d9f",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 274.737,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.1771,
    "h": 307.1
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#6F2D9F
secondary
#8DBE6A
accent
#DF4988
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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