#6F2C94#6F2C94

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

Color values

HEX#6F2C94
RGBrgb(111, 44, 148)
HSLhsl(279, 54%, 38%)
HSVhsv(279, 70%, 58%)
CMYKcmyk(25%, 70.3%, 0%, 42%)
CIE-LABlab(32.52, 47.14, -44.65)
CIE-LCHlch(32.52, 64.93, 316.56°)
OKLaboklab(43.9% 0.1093 -0.1262)
OKLCHoklch(43.9% 0.167 310.9)
XYZxyz(12.8005, 7.3193, 28.7497)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2C94 #51942C
analogous
#3B2C94 #6F2C94 #942C85
triadic
#6F2C94 #946F2C #2C946F
tetradic
#6F2C94 #943B2C #51942C #2C8594
square
#6F2C94 #943B2C #51942C #2C8594
split-complementary
#6F2C94 #85942C #2C943B
monochromatic
#281036 #4C1E65 #6F2C94 #923AC3 #AC68D2

Accessibility & contrast

On white

8.52
#6F2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2C94
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2C94#FFFFFF#000000##FFFFFF
##6F2C941.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#1D4E92
Tritanopia (blue-blind)
#6A425C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f2c94;
/* rgb */ color: rgb(111, 44, 148);
/* oklch */ color: oklch(43.9% 0.167 310.9);
Tailwind
colors: {
  custom: {
    50: '#9c6bb4',
    500: '#6f2c94',
    950: '#000000',
  },
}
SCSS
$custom: #6f2c94;
$custom-light: #9c6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2c94",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 278.654,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.1669,
    "h": 310.9
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#6F2C94
secondary
#82B963
accent
#DE4A7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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