#6D256F#6D256F

#6D256F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.139 H 326.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6D256F
RGBrgb(109, 37, 111)
HSLhsl(298, 50%, 29%)
HSVhsv(298, 67%, 44%)
CMYKcmyk(1.8%, 66.7%, 0%, 56.5%)
CIE-LABlab(28.70, 42.08, -27.63)
CIE-LCHlch(28.70, 50.34, 326.71°)
OKLaboklab(40.33% 0.1163 -0.0765)
OKLCHoklch(40.33% 0.139 326.7)
XYZxyz(9.8373, 5.7227, 15.6223)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D256F #276F25
analogous
#48256F #6D256F #6F254C
triadic
#6D256F #6F6D25 #256F6D
tetradic
#6D256F #6F4825 #276F25 #254C6F
square
#6D256F #6F4825 #276F25 #254C6F
split-complementary
#6D256F #4C6F25 #256F48
monochromatic
#170817 #401641 #6D256F #9A349D #C04BC3

Accessibility & contrast

On white

9.79
#6D256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D256F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D256F#FFFFFF#000000##FFFFFF
##6D256F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#702F46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d256f;
/* rgb */ color: rgb(109, 37, 111);
/* oklch */ color: oklch(40.3% 0.139 326.7);
Tailwind
colors: {
  custom: {
    50: '#996598',
    500: '#6d256f',
    950: '#000000',
  },
}
SCSS
$custom: #6d256f;
$custom-light: #996598;
$custom-dark: #000000;
JSON
{
  "hex": "#6d256f",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 298.378,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.13917,
    "h": 326.7
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#6D256F
secondary
#50A24E
accent
#DA4E52
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D256F

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

Preview Lab → · Contrast checker → · Palette generator →

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