#6D236F#6D236F

#6D236F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.142 H 326.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6D236F
RGBrgb(109, 35, 111)
HSLhsl(298, 52%, 29%)
HSVhsv(298, 68%, 44%)
CMYKcmyk(1.8%, 68.5%, 0%, 56.5%)
CIE-LABlab(28.38, 42.96, -28.13)
CIE-LCHlch(28.38, 51.35, 326.78°)
OKLaboklab(40.1% 0.1188 -0.0779)
OKLCHoklch(40.1% 0.142 326.7)
XYZxyz(9.7768, 5.6016, 15.6021)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D236F #256F23
analogous
#47236F #6D236F #6F234B
triadic
#6D236F #6F6D23 #236F6D
tetradic
#6D236F #6F4723 #256F23 #234B6F
square
#6D236F #6F4723 #256F23 #234B6F
split-complementary
#6D236F #4B6F23 #236F47
monochromatic
#170717 #3F1440 #6D236F #9B329E #C247C5

Accessibility & contrast

On white

9.90
#6D236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D236F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D236F#FFFFFF#000000##FFFFFF
##6D236F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#34466D
Tritanopia (blue-blind)
#702E46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d236f;
/* rgb */ color: rgb(109, 35, 111);
/* oklch */ color: oklch(40.1% 0.142 326.7);
Tailwind
colors: {
  custom: {
    50: '#996498',
    500: '#6d236f',
    950: '#000000',
  },
}
SCSS
$custom: #6d236f;
$custom-light: #996498;
$custom-dark: #000000;
JSON
{
  "hex": "#6d236f",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 298.421,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.14205,
    "h": 326.7
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#6D236F
secondary
#4EA24C
accent
#DB4C50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D236F

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

Preview Lab → · Contrast checker → · Palette generator →

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