#6F237D#6F237D

#6F237D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.156 H 321.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#6F237D
RGBrgb(111, 35, 125)
HSLhsl(291, 56%, 31%)
HSVhsv(291, 72%, 49%)
CMYKcmyk(11.2%, 72%, 0%, 51%)
CIE-LABlab(29.57, 46.18, -35.11)
CIE-LCHlch(29.57, 58.02, 322.75°)
OKLaboklab(41.3% 0.1212 -0.0982)
OKLCHoklch(41.3% 0.156 321)
XYZxyz(10.8578, 6.0628, 19.9964)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F237D #317D23
analogous
#42237D #6F237D #7D235E
triadic
#6F237D #7D6F23 #237D6F
tetradic
#6F237D #7D4223 #317D23 #235E7D
square
#6F237D #7D4223 #317D23 #235E7D
split-complementary
#6F237D #5E7D23 #237D42
monochromatic
#1A081D #45164D #6F237D #9930AD #B94DCD

Accessibility & contrast

On white

9.49
#6F237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F237D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F237D#FFFFFF#000000##FFFFFF
##6F237D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#2D487B
Tritanopia (blue-blind)
#70334D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f237d;
/* rgb */ color: rgb(111, 35, 125);
/* oklch */ color: oklch(41.3% 0.156 321.0);
Tailwind
colors: {
  custom: {
    50: '#9b65a3',
    500: '#6f237d',
    950: '#000000',
  },
}
SCSS
$custom: #6f237d;
$custom-light: #9b65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f237d",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 290.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.15598,
    "h": 321
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#6F237D
secondary
#5CAF4C
accent
#E04860
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F237D

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

Preview Lab → · Contrast checker → · Palette generator →

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