#6F2D9E#6F2D9E

#6F2D9E is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.176 H 307.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6F2D9E
RGBrgb(111, 45, 158)
HSLhsl(275, 56%, 40%)
HSVhsv(275, 72%, 62%)
CMYKcmyk(29.7%, 71.5%, 0%, 38%)
CIE-LABlab(33.40, 48.98, -49.32)
CIE-LCHlch(33.40, 69.51, 314.81°)
OKLaboklab(44.76% 0.1069 -0.1399)
OKLCHoklch(44.76% 0.176 307.4)
XYZxyz(13.6642, 7.7251, 33.1124)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2D9E #5C9E2D
analogous
#362D9E #6F2D9E #9E2D95
triadic
#6F2D9E #9E6F2D #2D9E6F
tetradic
#6F2D9E #9E362D #5C9E2D #2D959E
square
#6F2D9E #9E362D #5C9E2D #2D959E
split-complementary
#6F2D9E #959E2D #2D9E36
monochromatic
#2C123F #4E1F6E #6F2D9E #9040C9 #AB6FD6

Accessibility & contrast

On white

8.25
#6F2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2D9E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2D9E#FFFFFF#000000##FFFFFF
##6F2D9E1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#0A4F9C
Tritanopia (blue-blind)
#674762
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2d9e;
/* rgb */ color: rgb(111, 45, 158);
/* oklch */ color: oklch(44.8% 0.176 307.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cbb',
    500: '#6f2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #6f2d9e;
$custom-light: #9d6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2d9e",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 275.044,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.17605,
    "h": 307.4
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#6F2D9E
secondary
#8CBD69
accent
#DF4987
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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