#6F2A7A#6F2A7A

#6F2A7A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.143 H 321.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6F2A7A
RGBrgb(111, 42, 122)
HSLhsl(292, 49%, 32%)
HSVhsv(292, 66%, 48%)
CMYKcmyk(9%, 65.6%, 0%, 52.2%)
CIE-LABlab(30.50, 42.46, -31.74)
CIE-LCHlch(30.50, 53.02, 323.22°)
OKLaboklab(41.91% 0.1128 -0.0884)
OKLCHoklch(41.91% 0.143 321.9)
XYZxyz(10.8960, 6.4411, 19.0779)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2A7A #357A2A
analogous
#472A7A #6F2A7A #7A2A5D
triadic
#6F2A7A #7A6F2A #2A7A6F
tetradic
#6F2A7A #7A472A #357A2A #2A5D7A
square
#6F2A7A #7A472A #357A2A #2A5D7A
split-complementary
#6F2A7A #5D7A2A #2A7A47
monochromatic
#1C0B1F #461A4C #6F2A7A #983AA8 #B759C6

Accessibility & contrast

On white

9.18
#6F2A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6F2A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2A7A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2A7A#FFFFFF#000000##FFFFFF
##6F2A7A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437C
Deuteranopia (green-blind)
#344A78
Tritanopia (blue-blind)
#70374E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f2a7a;
/* rgb */ color: rgb(111, 42, 122);
/* oklch */ color: oklch(41.9% 0.143 321.9);
Tailwind
colors: {
  custom: {
    50: '#9b69a1',
    500: '#6f2a7a',
    950: '#000000',
  },
}
SCSS
$custom: #6f2a7a;
$custom-light: #9b69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2a7a",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 291.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41907,
    "c": 0.14334,
    "h": 321.9
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#6F2A7A
secondary
#60AB55
accent
#D84F62
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F2A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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