#6D267E#6D267E

#6D267E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.152 H 319.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6D267E
RGBrgb(109, 38, 126)
HSLhsl(288, 54%, 32%)
HSVhsv(288, 70%, 49%)
CMYKcmyk(13.5%, 69.8%, 0%, 50.6%)
CIE-LABlab(29.77, 44.62, -35.44)
CIE-LCHlch(29.77, 56.98, 321.54°)
OKLaboklab(41.4% 0.1152 -0.0992)
OKLCHoklch(41.4% 0.152 319.3)
XYZxyz(10.7652, 6.1443, 20.3535)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D267E #377E26
analogous
#41267E #6D267E #7E2663
triadic
#6D267E #7E6D26 #267E6D
tetradic
#6D267E #7E4126 #377E26 #26637E
square
#6D267E #7E4126 #377E26 #26637E
split-complementary
#6D267E #637E26 #267E41
monochromatic
#1C0A20 #44184F #6D267E #9634AD #B453CB

Accessibility & contrast

On white

9.42
#6D267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D267E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D267E#FFFFFF#000000##FFFFFF
##6D267E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034181
Deuteranopia (green-blind)
#2C497C
Tritanopia (blue-blind)
#6D364F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d267e;
/* rgb */ color: rgb(109, 38, 126);
/* oklch */ color: oklch(41.4% 0.152 319.3);
Tailwind
colors: {
  custom: {
    50: '#9a67a4',
    500: '#6d267e',
    950: '#000000',
  },
}
SCSS
$custom: #6d267e;
$custom-light: #9a67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d267e",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 288.409,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.414,
    "c": 0.152,
    "h": 319.3
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#6D267E
secondary
#63B050
accent
#DD4B67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D267E

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

Preview Lab → · Contrast checker → · Palette generator →

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