#6F236D#6F236D

#6F236D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 328.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#6F236D
RGBrgb(111, 35, 109)
HSLhsl(302, 52%, 29%)
HSVhsv(302, 68%, 44%)
CMYKcmyk(0%, 68.5%, 1.8%, 56.5%)
CIE-LABlab(28.61, 43.11, -26.48)
CIE-LCHlch(28.61, 50.60, 328.45°)
OKLaboklab(40.29% 0.1211 -0.073)
OKLCHoklch(40.29% 0.141 328.9)
XYZxyz(9.9168, 5.6864, 15.0403)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F236D #236F25
analogous
#4B236F #6F236D #6F2347
triadic
#6F236D #6D6F23 #236D6F
tetradic
#6F236D #6F4B23 #236F25 #23476F
square
#6F236D #6F4B23 #236F25 #23476F
split-complementary
#6F236D #476F23 #236F4B
monochromatic
#170717 #40143F #6F236D #9E329B #C547C2

Accessibility & contrast

On white

9.83
#6F236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F236D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F236D#FFFFFF#000000##FFFFFF
##6F236D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D6F
Deuteranopia (green-blind)
#37476B
Tritanopia (blue-blind)
#732D45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f236d;
/* rgb */ color: rgb(111, 35, 109);
/* oklch */ color: oklch(40.3% 0.141 328.9);
Tailwind
colors: {
  custom: {
    50: '#9b6597',
    500: '#6f236d',
    950: '#000000',
  },
}
SCSS
$custom: #6f236d;
$custom-light: #9b6597;
$custom-dark: #000000;
JSON
{
  "hex": "#6f236d",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 301.579,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40294,
    "c": 0.14141,
    "h": 328.9
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#6F236D
secondary
#4CA24E
accent
#DB504C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F236D

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

Preview Lab → · Contrast checker → · Palette generator →

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