#6F2F8D#6F2F8D

#6F2F8D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.155 H 313.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6F2F8D
RGBrgb(111, 47, 141)
HSLhsl(281, 50%, 37%)
HSVhsv(281, 67%, 55%)
CMYKcmyk(21.3%, 66.7%, 0%, 44.7%)
CIE-LABlab(32.56, 44.14, -40.29)
CIE-LCHlch(32.56, 59.76, 317.61°)
OKLaboklab(43.78% 0.1063 -0.1134)
OKLCHoklch(43.78% 0.155 313.1)
XYZxyz(12.3789, 7.3360, 25.9580)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2F8D #4D8D2F
analogous
#402F8D #6F2F8D #8D2F7C
triadic
#6F2F8D #8D6F2F #2F8D6F
tetradic
#6F2F8D #8D402F #4D8D2F #2F7C8D
square
#6F2F8D #8D402F #4D8D2F #2F7C8D
split-complementary
#6F2F8D #7C8D2F #2F8D40
monochromatic
#271031 #4B205F #6F2F8D #933EBB #AD69CD

Accessibility & contrast

On white

8.51
#6F2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F2F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2F8D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2F8D#FFFFFF#000000##FFFFFF
##6F2F8D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#6C415A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2f8d;
/* rgb */ color: rgb(111, 47, 141);
/* oklch */ color: oklch(43.8% 0.155 313.1);
Tailwind
colors: {
  custom: {
    50: '#9b6caf',
    500: '#6f2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #6f2f8d;
$custom-light: #9b6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2f8d",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 280.851,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43779,
    "c": 0.15543,
    "h": 313.1
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#6F2F8D
secondary
#7DB464
accent
#DA4E7B
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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