#6F268B#6F268B

#6F268B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.166 H 314.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6F268B
RGBrgb(111, 38, 139)
HSLhsl(283, 57%, 35%)
HSVhsv(283, 73%, 55%)
CMYKcmyk(20.1%, 72.7%, 0%, 45.5%)
CIE-LABlab(30.95, 47.82, -41.64)
CIE-LCHlch(30.95, 63.41, 318.95°)
OKLaboklab(42.58% 0.1169 -0.1173)
OKLCHoklch(42.58% 0.166 314.9)
XYZxyz(11.9081, 6.6302, 25.0736)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F268B #428B26
analogous
#3C268B #6F268B #8B2675
triadic
#6F268B #8B6F26 #268B6F
tetradic
#6F268B #8B3C26 #428B26 #26758B
square
#6F268B #8B3C26 #428B26 #26758B
split-complementary
#6F268B #758B26 #268B3C
monochromatic
#220C2B #49195B #6F268B #9533BB #B05AD2

Accessibility & contrast

On white

9.03
#6F268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6F268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F268B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F268B#FFFFFF#000000##FFFFFF
##6F268B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#6D3B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f268b;
/* rgb */ color: rgb(111, 38, 139);
/* oklch */ color: oklch(42.6% 0.166 314.9);
Tailwind
colors: {
  custom: {
    50: '#9c67ad',
    500: '#6f268b',
    950: '#000000',
  },
}
SCSS
$custom: #6f268b;
$custom-light: #9c67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f268b",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 283.366,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.16557,
    "h": 314.9
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#6F268B
secondary
#71B756
accent
#E04772
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F268B

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

Preview Lab → · Contrast checker → · Palette generator →

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