#6F268D#6F268D

#6F268D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.168 H 314.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6F268D
RGBrgb(111, 38, 141)
HSLhsl(283, 58%, 35%)
HSVhsv(283, 73%, 55%)
CMYKcmyk(21.3%, 73%, 0%, 44.7%)
CIE-LABlab(31.09, 48.25, -42.65)
CIE-LCHlch(31.09, 64.40, 318.52°)
OKLaboklab(42.73% 0.1166 -0.1203)
OKLCHoklch(42.73% 0.168 314.1)
XYZxyz(12.0556, 6.6892, 25.8502)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F268D #448D26
analogous
#3B268D #6F268D #8D2678
triadic
#6F268D #8D6F26 #268D6F
tetradic
#6F268D #8D3B26 #448D26 #26788D
square
#6F268D #8D3B26 #448D26 #26788D
split-complementary
#6F268D #788D26 #268D3B
monochromatic
#230C2D #49195D #6F268D #9533BD #B05BD3

Accessibility & contrast

On white

8.98
#6F268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6F268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F268D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F268D#FFFFFF#000000##FFFFFF
##6F268D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#6C3C57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f268d;
/* rgb */ color: rgb(111, 38, 141);
/* oklch */ color: oklch(42.7% 0.168 314.1);
Tailwind
colors: {
  custom: {
    50: '#9c67af',
    500: '#6f268d',
    950: '#000000',
  },
}
SCSS
$custom: #6f268d;
$custom-light: #9c67af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f268d",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 282.524,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.16753,
    "h": 314.1
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#6F268D
secondary
#73B857
accent
#E14774
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F268D

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

Preview Lab → · Contrast checker → · Palette generator →

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