#6F236E#6F236E

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

Color values

HEX#6F236E
RGBrgb(111, 35, 110)
HSLhsl(301, 52%, 29%)
HSVhsv(301, 68%, 44%)
CMYKcmyk(0%, 68.5%, 0.9%, 56.5%)
CIE-LABlab(28.66, 43.30, -27.03)
CIE-LCHlch(28.66, 51.04, 328.03°)
OKLaboklab(40.35% 0.1211 -0.0746)
OKLCHoklch(40.35% 0.142 328.4)
XYZxyz(9.9709, 5.7080, 15.3254)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F236E #236F24
analogous
#4A236F #6F236E #6F2348
triadic
#6F236E #6E6F23 #236E6F
tetradic
#6F236E #6F4A23 #236F24 #23486F
square
#6F236E #6F4A23 #236F24 #23486F
split-complementary
#6F236E #486F23 #236F4A
monochromatic
#170717 #401440 #6F236E #9E329C #C547C3

Accessibility & contrast

On white

9.81
#6F236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6F236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F236E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F236E#FFFFFF#000000##FFFFFF
##6F236E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#36476C
Tritanopia (blue-blind)
#732D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f236e;
/* rgb */ color: rgb(111, 35, 110);
/* oklch */ color: oklch(40.4% 0.142 328.4);
Tailwind
colors: {
  custom: {
    50: '#9b6598',
    500: '#6f236e',
    950: '#000000',
  },
}
SCSS
$custom: #6f236e;
$custom-light: #9b6598;
$custom-dark: #000000;
JSON
{
  "hex": "#6f236e",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 300.789,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40354,
    "c": 0.14229,
    "h": 328.4
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#6F236E
secondary
#4CA24D
accent
#DB4E4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F236E

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

Preview Lab → · Contrast checker → · Palette generator →

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