#6B256D#6B256D

#6B256D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 39.9% C 0.136 H 326.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6B256D
RGBrgb(107, 37, 109)
HSLhsl(298, 49%, 29%)
HSVhsv(298, 66%, 43%)
CMYKcmyk(1.8%, 66.1%, 0%, 57.3%)
CIE-LABlab(28.26, 41.16, -27.07)
CIE-LCHlch(28.26, 49.26, 326.66°)
OKLaboklab(39.91% 0.1137 -0.0749)
OKLCHoklch(39.91% 0.136 326.6)
XYZxyz(9.4851, 5.5537, 15.0374)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B256D #276D25
analogous
#47256D #6B256D #6D254B
triadic
#6B256D #6D6B25 #256D6B
tetradic
#6B256D #6D4725 #276D25 #254B6D
square
#6B256D #6D4725 #276D25 #254B6D
split-complementary
#6B256D #4B6D25 #256D47
monochromatic
#160817 #3E153F #6B256D #98359B #BE4BC2

Accessibility & contrast

On white

9.95
#6B256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6B256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B256D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B256D#FFFFFF#000000##FFFFFF
##6B256D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D6F
Deuteranopia (green-blind)
#35466B
Tritanopia (blue-blind)
#6E2F45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b256d;
/* rgb */ color: rgb(107, 37, 109);
/* oklch */ color: oklch(39.9% 0.136 326.6);
Tailwind
colors: {
  custom: {
    50: '#986597',
    500: '#6b256d',
    950: '#000000',
  },
}
SCSS
$custom: #6b256d;
$custom-light: #986597;
$custom-dark: #000000;
JSON
{
  "hex": "#6b256d",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 298.333,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39908,
    "c": 0.13617,
    "h": 326.6
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#6B256D
secondary
#50A04E
accent
#D94F53
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6B256D

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

Preview Lab → · Contrast checker → · Palette generator →

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