#6F2597#6F2597

#6F2597 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.179 H 310.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6F2597
RGBrgb(111, 37, 151)
HSLhsl(279, 61%, 37%)
HSVhsv(279, 75%, 59%)
CMYKcmyk(26.5%, 75.5%, 0%, 40.8%)
CIE-LABlab(31.66, 50.85, -47.87)
CIE-LCHlch(31.66, 69.84, 316.73°)
OKLaboklab(43.36% 0.1162 -0.1356)
OKLCHoklch(43.36% 0.179 310.6)
XYZxyz(12.8019, 6.9373, 29.9368)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2597 #4D9725
analogous
#362597 #6F2597 #972586
triadic
#6F2597 #976F25 #25976F
tetradic
#6F2597 #973625 #4D9725 #258697
square
#6F2597 #973625 #4D9725 #258697
split-complementary
#6F2597 #869725 #259736
monochromatic
#270D35 #4B1966 #6F2597 #9331C8 #AD5FD8

Accessibility & contrast

On white

8.80
#6F2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6F2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2597
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2597#FFFFFF#000000##FFFFFF
##6F25971.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2597;
/* rgb */ color: rgb(111, 37, 151);
/* oklch */ color: oklch(43.4% 0.179 310.6);
Tailwind
colors: {
  custom: {
    50: '#9d67b6',
    500: '#6f2597',
    950: '#000000',
  },
}
SCSS
$custom: #6f2597;
$custom-light: #9d67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2597",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 278.947,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43362,
    "c": 0.17856,
    "h": 310.6
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#6F2597
secondary
#7DBD5B
accent
#E4447C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2597

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

Preview Lab → · Contrast checker → · Palette generator →

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