#6F2C95#6F2C95

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

Color values

HEX#6F2C95
RGBrgb(111, 44, 149)
HSLhsl(278, 54%, 38%)
HSVhsv(278, 70%, 58%)
CMYKcmyk(25.5%, 70.5%, 0%, 41.6%)
CIE-LABlab(32.59, 47.37, -45.15)
CIE-LCHlch(32.59, 65.44, 316.37°)
OKLaboklab(43.98% 0.1092 -0.1276)
OKLCHoklch(43.98% 0.168 310.5)
XYZxyz(12.8800, 7.3511, 29.1683)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2C95 #52952C
analogous
#3B2C95 #6F2C95 #952C86
triadic
#6F2C95 #956F2C #2C956F
tetradic
#6F2C95 #953B2C #52952C #2C8695
square
#6F2C95 #953B2C #52952C #2C8695
split-complementary
#6F2C95 #86952C #2C953B
monochromatic
#291037 #4C1E66 #6F2C95 #923AC4 #AC69D3

Accessibility & contrast

On white

8.50
#6F2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2C95
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2C95#FFFFFF#000000##FFFFFF
##6F2C951.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#6A435D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2c95;
/* rgb */ color: rgb(111, 44, 149);
/* oklch */ color: oklch(44.0% 0.168 310.5);
Tailwind
colors: {
  custom: {
    50: '#9c6bb5',
    500: '#6f2c95',
    950: '#000000',
  },
}
SCSS
$custom: #6f2c95;
$custom-light: #9c6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2c95",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 278.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.16794,
    "h": 310.5
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#6F2C95
secondary
#83B964
accent
#DE4A7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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