#6F2B95#6F2B95

#6F2B95 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.169 H 310.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6F2B95
RGBrgb(111, 43, 149)
HSLhsl(278, 55%, 38%)
HSVhsv(278, 71%, 58%)
CMYKcmyk(25.5%, 71.1%, 0%, 41.6%)
CIE-LABlab(32.43, 47.82, -45.41)
CIE-LCHlch(32.43, 65.95, 316.48°)
OKLaboklab(43.86% 0.1103 -0.1284)
OKLCHoklch(43.86% 0.169 310.7)
XYZxyz(12.8432, 7.2775, 29.1561)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2B95 #51952B
analogous
#3A2B95 #6F2B95 #952B86
triadic
#6F2B95 #956F2B #2B956F
tetradic
#6F2B95 #953A2B #51952B #2B8695
square
#6F2B95 #953A2B #51952B #2B8695
split-complementary
#6F2B95 #86952B #2B953A
monochromatic
#281036 #4C1D66 #6F2B95 #9239C4 #AC67D3

Accessibility & contrast

On white

8.55
#6F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6F2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2B95
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2B95#FFFFFF#000000##FFFFFF
##6F2B951.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#1B4D93
Tritanopia (blue-blind)
#6A425D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f2b95;
/* rgb */ color: rgb(111, 43, 149);
/* oklch */ color: oklch(43.9% 0.169 310.7);
Tailwind
colors: {
  custom: {
    50: '#9c6ab5',
    500: '#6f2b95',
    950: '#000000',
  },
}
SCSS
$custom: #6f2b95;
$custom-light: #9c6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2b95",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 278.491,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4386,
    "c": 0.16924,
    "h": 310.7
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#6F2B95
secondary
#82BA62
accent
#DF497F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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