#6F267D#6F267D

#6F267D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.152 H 320.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6F267D
RGBrgb(111, 38, 125)
HSLhsl(290, 53%, 32%)
HSVhsv(290, 70%, 49%)
CMYKcmyk(11.2%, 69.6%, 0%, 51%)
CIE-LABlab(30.03, 44.90, -34.38)
CIE-LCHlch(30.03, 56.55, 322.55°)
OKLaboklab(41.63% 0.1178 -0.0961)
OKLCHoklch(41.63% 0.152 320.8)
XYZxyz(10.9499, 6.2470, 20.0271)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F267D #347D26
analogous
#44267D #6F267D #7D2660
triadic
#6F267D #7D6F26 #267D6F
tetradic
#6F267D #7D4426 #347D26 #26607D
square
#6F267D #7D4426 #347D26 #26607D
split-complementary
#6F267D #607D26 #267D44
monochromatic
#1C091F #45184E #6F267D #9934AC #B753CB

Accessibility & contrast

On white

9.34
#6F267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6F267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F267D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F267D#FFFFFF#000000##FFFFFF
##6F267D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#2F497B
Tritanopia (blue-blind)
#70354E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f267d;
/* rgb */ color: rgb(111, 38, 125);
/* oklch */ color: oklch(41.6% 0.152 320.8);
Tailwind
colors: {
  custom: {
    50: '#9b67a3',
    500: '#6f267d',
    950: '#000000',
  },
}
SCSS
$custom: #6f267d;
$custom-light: #9b67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f267d",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 290.345,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.15198,
    "h": 320.8
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#6F267D
secondary
#5FAF50
accent
#DD4B62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F267D

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

Preview Lab → · Contrast checker → · Palette generator →

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