#6F2497#6F2497

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

Color values

HEX#6F2497
RGBrgb(111, 36, 151)
HSLhsl(279, 61%, 37%)
HSVhsv(279, 76%, 59%)
CMYKcmyk(26.5%, 76.2%, 0%, 40.8%)
CIE-LABlab(31.52, 51.26, -48.10)
CIE-LCHlch(31.52, 70.29, 316.82°)
OKLaboklab(43.26% 0.1171 -0.1363)
OKLCHoklch(43.26% 0.18 310.7)
XYZxyz(12.7713, 6.8759, 29.9266)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2497 #4C9724
analogous
#352497 #6F2497 #972486
triadic
#6F2497 #976F24 #24976F
tetradic
#6F2497 #973524 #4C9724 #248697
square
#6F2497 #973524 #4C9724 #248697
split-complementary
#6F2497 #869724 #249735
monochromatic
#260C34 #4B1866 #6F2497 #9330C8 #AD5DD8

Accessibility & contrast

On white

8.84
#6F2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2497
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2497#FFFFFF#000000##FFFFFF
##6F24971.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#0A4B95
Tritanopia (blue-blind)
#6A3F5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2497;
/* rgb */ color: rgb(111, 36, 151);
/* oklch */ color: oklch(43.3% 0.180 310.7);
Tailwind
colors: {
  custom: {
    50: '#9d67b6',
    500: '#6f2497',
    950: '#000000',
  },
}
SCSS
$custom: #6f2497;
$custom-light: #9d67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2497",
  "rgb": {
    "r": 111,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 279.13,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.17969,
    "h": 310.7
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#6F2497
secondary
#7CBD5A
accent
#E5437B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2497

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

Preview Lab → · Contrast checker → · Palette generator →

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