#6F236F#6F236F

#6F236F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.143 H 327.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6F236F
RGBrgb(111, 35, 111)
HSLhsl(300, 52%, 29%)
HSVhsv(300, 68%, 44%)
CMYKcmyk(0%, 68.5%, 0%, 56.5%)
CIE-LABlab(28.72, 43.48, -27.58)
CIE-LCHlch(28.72, 51.49, 327.62°)
OKLaboklab(40.41% 0.1212 -0.0762)
OKLCHoklch(40.41% 0.143 327.8)
XYZxyz(10.0257, 5.7299, 15.6138)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F236F #236F23
analogous
#49236F #6F236F #6F2349
triadic
#6F236F #6F6F23 #236F6F
tetradic
#6F236F #6F4923 #236F23 #23496F
square
#6F236F #6F4923 #236F23 #23496F
split-complementary
#6F236F #496F23 #236F49
monochromatic
#170717 #401440 #6F236F #9E329E #C547C5

Accessibility & contrast

On white

9.79
#6F236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6F236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F236F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F236F#FFFFFF#000000##FFFFFF
##6F236F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#36476D
Tritanopia (blue-blind)
#732D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f236f;
/* rgb */ color: rgb(111, 35, 111);
/* oklch */ color: oklch(40.4% 0.143 327.8);
Tailwind
colors: {
  custom: {
    50: '#9b6598',
    500: '#6f236f',
    950: '#000000',
  },
}
SCSS
$custom: #6f236f;
$custom-light: #9b6598;
$custom-dark: #000000;
JSON
{
  "hex": "#6f236f",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 300,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.14318,
    "h": 327.8
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#6F236F
secondary
#4CA24C
accent
#DB4C4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F236F

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

Preview Lab → · Contrast checker → · Palette generator →

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