#6F2E9F#6F2E9F

#6F2E9F is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.176 H 306.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6F2E9F
RGBrgb(111, 46, 159)
HSLhsl(275, 55%, 40%)
HSVhsv(275, 71%, 62%)
CMYKcmyk(30.2%, 71.1%, 0%, 37.6%)
CIE-LABlab(33.64, 48.76, -49.54)
CIE-LCHlch(33.64, 69.51, 314.54°)
OKLaboklab(44.95% 0.1057 -0.1405)
OKLCHoklch(44.95% 0.176 306.9)
XYZxyz(13.7892, 7.8369, 33.5804)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2E9F #5E9F2E
analogous
#362E9F #6F2E9F #9F2E97
triadic
#6F2E9F #9F6F2E #2E9F6F
tetradic
#6F2E9F #9F362E #5E9F2E #2E979F
square
#6F2E9F #9F362E #5E9F2E #2E979F
split-complementary
#6F2E9F #979F2E #2E9F36
monochromatic
#2D1340 #4E2070 #6F2E9F #8F42C8 #AB71D6

Accessibility & contrast

On white

8.18
#6F2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2E9F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2E9F#FFFFFF#000000##FFFFFF
##6F2E9F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#09509D
Tritanopia (blue-blind)
#674863
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2e9f;
/* rgb */ color: rgb(111, 46, 159);
/* oklch */ color: oklch(45.0% 0.176 306.9);
Tailwind
colors: {
  custom: {
    50: '#9d6cbc',
    500: '#6f2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #6f2e9f;
$custom-light: #9d6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2e9f",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 274.513,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.17584,
    "h": 306.9
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#6F2E9F
secondary
#8EBE6B
accent
#DE4989
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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