#6F298E#6F298E

#6F298E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.165 H 313.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6F298E
RGBrgb(111, 41, 142)
HSLhsl(282, 55%, 36%)
HSVhsv(282, 71%, 56%)
CMYKcmyk(21.8%, 71.1%, 0%, 44.3%)
CIE-LABlab(31.62, 47.16, -42.41)
CIE-LCHlch(31.62, 63.43, 318.03°)
OKLaboklab(43.13% 0.1133 -0.1196)
OKLCHoklch(43.13% 0.165 313.4)
XYZxyz(12.2301, 6.9188, 26.2771)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F298E #488E29
analogous
#3C298E #6F298E #8E297A
triadic
#6F298E #8E6F29 #298E6F
tetradic
#6F298E #8E3C29 #488E29 #297A8E
square
#6F298E #8E3C29 #488E29 #297A8E
split-complementary
#6F298E #7A8E29 #298E3C
monochromatic
#250E2F #4A1B5F #6F298E #9437BD #AF60D1

Accessibility & contrast

On white

8.81
#6F298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6F298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F298E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F298E#FFFFFF#000000##FFFFFF
##6F298E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#6C3E58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f298e;
/* rgb */ color: rgb(111, 41, 142);
/* oklch */ color: oklch(43.1% 0.165 313.4);
Tailwind
colors: {
  custom: {
    50: '#9c69b0',
    500: '#6f298e',
    950: '#000000',
  },
}
SCSS
$custom: #6f298e;
$custom-light: #9c69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f298e",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 281.584,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43127,
    "c": 0.1647,
    "h": 313.4
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#6F298E
secondary
#78B75C
accent
#DF4977
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #6F298E

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

Preview Lab → · Contrast checker → · Palette generator →

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