#6F2C96#6F2C96

#6F2C96 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.169 H 310.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6F2C96
RGBrgb(111, 44, 150)
HSLhsl(278, 55%, 38%)
HSVhsv(278, 71%, 59%)
CMYKcmyk(26%, 70.7%, 0%, 41.2%)
CIE-LABlab(32.66, 47.59, -45.64)
CIE-LCHlch(32.66, 65.94, 316.20°)
OKLaboklab(44.05% 0.109 -0.1291)
OKLCHoklch(44.05% 0.169 310.2)
XYZxyz(12.9602, 7.3832, 29.5906)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2C96 #53962C
analogous
#3A2C96 #6F2C96 #962C88
triadic
#6F2C96 #966F2C #2C966F
tetradic
#6F2C96 #963A2C #53962C #2C8896
square
#6F2C96 #963A2C #53962C #2C8896
split-complementary
#6F2C96 #88962C #2C963A
monochromatic
#291037 #4C1E67 #6F2C96 #923AC5 #AC69D3

Accessibility & contrast

On white

8.48
#6F2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6F2C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2C96
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2C96#FFFFFF#000000##FFFFFF
##6F2C961.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#6A435E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2c96;
/* rgb */ color: rgb(111, 44, 150);
/* oklch */ color: oklch(44.0% 0.169 310.2);
Tailwind
colors: {
  custom: {
    50: '#9c6bb5',
    500: '#6f2c96',
    950: '#000000',
  },
}
SCSS
$custom: #6f2c96;
$custom-light: #9c6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2c96",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 277.925,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.16898,
    "h": 310.2
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#6F2C96
secondary
#84BA64
accent
#DE4A80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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