#6F268F#6F268F

#6F268F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.170 H 313.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6F268F
RGBrgb(111, 38, 143)
HSLhsl(282, 58%, 35%)
HSVhsv(282, 73%, 56%)
CMYKcmyk(22.4%, 73.4%, 0%, 43.9%)
CIE-LABlab(31.23, 48.68, -43.66)
CIE-LCHlch(31.23, 65.39, 318.11°)
OKLaboklab(42.87% 0.1164 -0.1232)
OKLCHoklch(42.87% 0.17 313.4)
XYZxyz(12.2057, 6.7493, 26.6411)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F268F #468F26
analogous
#3A268F #6F268F #8F267A
triadic
#6F268F #8F6F26 #268F6F
tetradic
#6F268F #8F3A26 #468F26 #267A8F
square
#6F268F #8F3A26 #468F26 #267A8F
split-complementary
#6F268F #7A8F26 #268F3A
monochromatic
#240C2E #49195F #6F268F #9533BF #AF5CD4

Accessibility & contrast

On white

8.94
#6F268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6F268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F268F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F268F#FFFFFF#000000##FFFFFF
##6F268F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#6C3D58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f268f;
/* rgb */ color: rgb(111, 38, 143);
/* oklch */ color: oklch(42.9% 0.170 313.4);
Tailwind
colors: {
  custom: {
    50: '#9c68b0',
    500: '#6f268f',
    950: '#000000',
  },
}
SCSS
$custom: #6f268f;
$custom-light: #9c68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f268f",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 281.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.1695,
    "h": 313.4
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#6F268F
secondary
#76B958
accent
#E14776
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6F268F

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

Preview Lab → · Contrast checker → · Palette generator →

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