#6B268B#6B268B

#6B268B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.164 H 312.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6B268B
RGBrgb(107, 38, 139)
HSLhsl(281, 57%, 35%)
HSVhsv(281, 73%, 55%)
CMYKcmyk(23%, 72.7%, 0%, 45.5%)
CIE-LABlab(30.34, 46.94, -42.65)
CIE-LCHlch(30.34, 63.42, 317.74°)
OKLaboklab(42.03% 0.1115 -0.1204)
OKLCHoklch(42.03% 0.164 312.8)
XYZxyz(11.4159, 6.3764, 25.0505)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B268B #468B26
analogous
#39268B #6B268B #8B2679
triadic
#6B268B #8B6B26 #268B6B
tetradic
#6B268B #8B3926 #468B26 #26798B
square
#6B268B #8B3926 #468B26 #26798B
split-complementary
#6B268B #798B26 #268B39
monochromatic
#210C2B #46195B #6B268B #9033BB #AC5AD2

Accessibility & contrast

On white

9.23
#6B268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6B268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B268B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B268B#FFFFFF#000000##FFFFFF
##6B268B1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#673C56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b268b;
/* rgb */ color: rgb(107, 38, 139);
/* oklch */ color: oklch(42.0% 0.164 312.8);
Tailwind
colors: {
  custom: {
    50: '#9967ad',
    500: '#6b268b',
    950: '#000000',
  },
}
SCSS
$custom: #6b268b;
$custom-light: #9967ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b268b",
  "rgb": {
    "r": 107,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 280.99,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42025,
    "c": 0.16409,
    "h": 312.8
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#6B268B
secondary
#75B756
accent
#E04778
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B268B

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

Preview Lab → · Contrast checker → · Palette generator →

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