#6E256B#6E256B

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

Color values

HEX#6E256B
RGBrgb(110, 37, 107)
HSLhsl(302, 50%, 29%)
HSVhsv(302, 66%, 43%)
CMYKcmyk(0%, 66.4%, 2.7%, 56.9%)
CIE-LABlab(28.64, 41.60, -25.15)
CIE-LCHlch(28.64, 48.61, 328.84°)
OKLaboklab(40.25% 0.1172 -0.0693)
OKLCHoklch(40.25% 0.136 329.4)
XYZxyz(9.7457, 5.7003, 14.4940)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E256B #256E28
analogous
#4D256E #6E256B #6E2547
triadic
#6E256B #6B6E25 #256B6E
tetradic
#6E256B #6E4D25 #256E28 #25476E
square
#6E256B #6E4D25 #256E28 #25476E
split-complementary
#6E256B #476E25 #256E4D
monochromatic
#170816 #40163E #6E256B #9C3498 #C24BBE

Accessibility & contrast

On white

9.81
#6E256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E256B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E256B#FFFFFF#000000##FFFFFF
##6E256B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#384769
Tritanopia (blue-blind)
#722D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e256b;
/* rgb */ color: rgb(110, 37, 107);
/* oklch */ color: oklch(40.3% 0.136 329.4);
Tailwind
colors: {
  custom: {
    50: '#9a6595',
    500: '#6e256b',
    950: '#000000',
  },
}
SCSS
$custom: #6e256b;
$custom-light: #9a6595;
$custom-dark: #000000;
JSON
{
  "hex": "#6e256b",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 302.466,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40251,
    "c": 0.13615,
    "h": 329.4
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#6E256B
secondary
#4EA151
accent
#D9544F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6E256B

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

Preview Lab → · Contrast checker → · Palette generator →

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