#6F2397#6F2397

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

Color values

HEX#6F2397
RGBrgb(111, 35, 151)
HSLhsl(279, 62%, 36%)
HSVhsv(279, 77%, 59%)
CMYKcmyk(26.5%, 76.8%, 0%, 40.8%)
CIE-LABlab(31.38, 51.65, -48.32)
CIE-LCHlch(31.38, 70.73, 316.91°)
OKLaboklab(43.17% 0.1181 -0.1369)
OKLCHoklch(43.17% 0.181 310.8)
XYZxyz(12.7414, 6.8162, 29.9166)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2397 #4B9723
analogous
#352397 #6F2397 #972385
triadic
#6F2397 #976F23 #23976F
tetradic
#6F2397 #973523 #4B9723 #238597
square
#6F2397 #973523 #4B9723 #238597
split-complementary
#6F2397 #859723 #239735
monochromatic
#260C34 #4A1765 #6F2397 #942FC9 #AE5BD9

Accessibility & contrast

On white

8.89
#6F2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6F2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2397
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2397#FFFFFF#000000##FFFFFF
##6F23971.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#084B95
Tritanopia (blue-blind)
#6A3E5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2397;
/* rgb */ color: rgb(111, 35, 151);
/* oklch */ color: oklch(43.2% 0.181 310.8);
Tailwind
colors: {
  custom: {
    50: '#9d66b6',
    500: '#6f2397',
    950: '#000000',
  },
}
SCSS
$custom: #6f2397;
$custom-light: #9d66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2397",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 279.31,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.1808,
    "h": 310.8
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#6F2397
secondary
#7BBE58
accent
#E5427B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2397

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

Preview Lab → · Contrast checker → · Palette generator →

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