#6F2596#6F2596

#6F2596 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.178 H 310.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6F2596
RGBrgb(111, 37, 150)
HSLhsl(279, 60%, 37%)
HSVhsv(279, 75%, 59%)
CMYKcmyk(26%, 75.3%, 0%, 41.2%)
CIE-LABlab(31.59, 50.63, -47.38)
CIE-LCHlch(31.59, 69.34, 316.90°)
OKLaboklab(43.29% 0.1164 -0.1341)
OKLCHoklch(43.29% 0.178 310.9)
XYZxyz(12.7211, 6.9050, 29.5109)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2596 #4C9625
analogous
#372596 #6F2596 #962585
triadic
#6F2596 #966F25 #25966F
tetradic
#6F2596 #963725 #4C9625 #258596
square
#6F2596 #963725 #4C9625 #258596
split-complementary
#6F2596 #859625 #259637
monochromatic
#260D34 #4B1965 #6F2596 #9331C7 #AD5ED7

Accessibility & contrast

On white

8.82
#6F2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6F2596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2596
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2596#FFFFFF#000000##FFFFFF
##6F25961.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2596;
/* rgb */ color: rgb(111, 37, 150);
/* oklch */ color: oklch(43.3% 0.178 310.9);
Tailwind
colors: {
  custom: {
    50: '#9c67b6',
    500: '#6f2596',
    950: '#000000',
  },
}
SCSS
$custom: #6f2596;
$custom-light: #9c67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2596",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 279.292,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43286,
    "c": 0.17758,
    "h": 310.9
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#6F2596
secondary
#7CBC5B
accent
#E4447B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2596

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

Preview Lab → · Contrast checker → · Palette generator →

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