#6F2496#6F2496

#6F2496 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.179 H 311.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6F2496
RGBrgb(111, 36, 150)
HSLhsl(279, 61%, 36%)
HSVhsv(279, 76%, 59%)
CMYKcmyk(26%, 76%, 0%, 41.2%)
CIE-LABlab(31.45, 51.04, -47.61)
CIE-LCHlch(31.45, 69.79, 316.99°)
OKLaboklab(43.19% 0.1173 -0.1348)
OKLCHoklch(43.19% 0.179 311)
XYZxyz(12.6904, 6.8436, 29.5007)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2496 #4B9624
analogous
#362496 #6F2496 #962484
triadic
#6F2496 #966F24 #24966F
tetradic
#6F2496 #963624 #4B9624 #248496
square
#6F2496 #963624 #4B9624 #248496
split-complementary
#6F2496 #849624 #249636
monochromatic
#260C33 #4A1865 #6F2496 #9430C7 #AE5CD8

Accessibility & contrast

On white

8.87
#6F2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6F2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2496
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2496#FFFFFF#000000##FFFFFF
##6F24961.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#0D4B94
Tritanopia (blue-blind)
#6A3F5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2496;
/* rgb */ color: rgb(111, 36, 150);
/* oklch */ color: oklch(43.2% 0.179 311.0);
Tailwind
colors: {
  custom: {
    50: '#9d67b6',
    500: '#6f2496',
    950: '#000000',
  },
}
SCSS
$custom: #6f2496;
$custom-light: #9d67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2496",
  "rgb": {
    "r": 111,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 279.474,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.17871,
    "h": 311
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#6F2496
secondary
#7BBD59
accent
#E4437A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2496

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

Preview Lab → · Contrast checker → · Palette generator →

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