#6B2F7A#6B2F7A

#6B2F7A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.0% C 0.134 H 319.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6B2F7A
RGBrgb(107, 47, 122)
HSLhsl(288, 44%, 33%)
HSVhsv(288, 61%, 48%)
CMYKcmyk(12.3%, 61.5%, 0%, 52.2%)
CIE-LABlab(30.79, 38.92, -31.31)
CIE-LCHlch(30.79, 49.95, 321.18°)
OKLaboklab(42% 0.101 -0.0873)
OKLCHoklch(42% 0.134 319.2)
XYZxyz(10.5923, 6.5644, 19.1177)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2F7A #3E7A2F
analogous
#452F7A #6B2F7A #7A2F63
triadic
#6B2F7A #7A6B2F #2F7A6B
tetradic
#6B2F7A #7A452F #3E7A2F #2F637A
square
#6B2F7A #7A452F #3E7A2F #2F637A
split-complementary
#6B2F7A #637A2F #2F7A45
monochromatic
#1E0D22 #441E4E #6B2F7A #9240A6 #AF61C2

Accessibility & contrast

On white

9.08
#6B2F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6B2F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2F7A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2F7A#FFFFFF#000000##FFFFFF
##6B2F7A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#6B3B50
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2f7a;
/* rgb */ color: rgb(107, 47, 122);
/* oklch */ color: oklch(42.0% 0.134 319.2);
Tailwind
colors: {
  custom: {
    50: '#986ba1',
    500: '#6b2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #6b2f7a;
$custom-light: #986ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2f7a",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 288,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.13352,
    "h": 319.2
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#6B2F7A
secondary
#6BA95C
accent
#D4546D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6B2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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