#6F2A94#6F2A94

#6F2A94 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.170 H 311.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6F2A94
RGBrgb(111, 42, 148)
HSLhsl(279, 56%, 37%)
HSVhsv(279, 72%, 58%)
CMYKcmyk(25%, 71.6%, 0%, 42%)
CIE-LABlab(32.20, 48.05, -45.17)
CIE-LCHlch(32.20, 65.95, 316.77°)
OKLaboklab(43.67% 0.1115 -0.1277)
OKLCHoklch(43.67% 0.17 311.1)
XYZxyz(12.7278, 7.1739, 28.7254)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2A94 #4F942A
analogous
#3A2A94 #6F2A94 #942A84
triadic
#6F2A94 #946F2A #2A946F
tetradic
#6F2A94 #943A2A #4F942A #2A8494
square
#6F2A94 #943A2A #4F942A #2A8494
split-complementary
#6F2A94 #84942A #2A943A
monochromatic
#270F35 #4B1C64 #6F2A94 #9338C4 #AD65D3

Accessibility & contrast

On white

8.62
#6F2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2A94
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2A94#FFFFFF#000000##FFFFFF
##6F2A941.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2a94;
/* rgb */ color: rgb(111, 42, 148);
/* oklch */ color: oklch(43.7% 0.170 311.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ab4',
    500: '#6f2a94',
    950: '#000000',
  },
}
SCSS
$custom: #6f2a94;
$custom-light: #9c6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2a94",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 279.057,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43673,
    "c": 0.1695,
    "h": 311.1
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#6F2A94
secondary
#7FB960
accent
#DF497D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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