#6F2897#6F2897

#6F2897 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.175 H 310.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6F2897
RGBrgb(111, 40, 151)
HSLhsl(278, 58%, 37%)
HSVhsv(278, 74%, 59%)
CMYKcmyk(26.5%, 73.5%, 0%, 40.8%)
CIE-LABlab(32.10, 49.60, -47.16)
CIE-LCHlch(32.10, 68.44, 316.45°)
OKLaboklab(43.67% 0.1132 -0.1335)
OKLCHoklch(43.67% 0.175 310.3)
XYZxyz(12.8992, 7.1317, 29.9692)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2897 #509728
analogous
#372897 #6F2897 #972888
triadic
#6F2897 #976F28 #28976F
tetradic
#6F2897 #973728 #509728 #288897
square
#6F2897 #973728 #509728 #288897
split-complementary
#6F2897 #889728 #289737
monochromatic
#280E36 #4B1B67 #6F2897 #9335C7 #AD64D6

Accessibility & contrast

On white

8.66
#6F2897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F2897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2897
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2897#FFFFFF#000000##FFFFFF
##6F28971.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#124D95
Tritanopia (blue-blind)
#69415D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f2897;
/* rgb */ color: rgb(111, 40, 151);
/* oklch */ color: oklch(43.7% 0.175 310.3);
Tailwind
colors: {
  custom: {
    50: '#9c69b6',
    500: '#6f2897',
    950: '#000000',
  },
}
SCSS
$custom: #6f2897;
$custom-light: #9c69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2897",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 278.378,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43674,
    "c": 0.17503,
    "h": 310.3
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#6F2897
secondary
#80BC5F
accent
#E1467E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #6F2897

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

Preview Lab → · Contrast checker → · Palette generator →

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