#6E267B#6E267B

#6E267B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.150 H 321.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6E267B
RGBrgb(110, 38, 123)
HSLhsl(291, 53%, 32%)
HSVhsv(291, 69%, 48%)
CMYKcmyk(10.6%, 69.1%, 0%, 51.8%)
CIE-LABlab(29.74, 44.25, -33.59)
CIE-LCHlch(29.74, 55.55, 322.80°)
OKLaboklab(41.35% 0.1165 -0.0938)
OKLCHoklch(41.35% 0.15 321.2)
XYZxyz(10.6983, 6.1318, 19.3551)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E267B #337B26
analogous
#44267B #6E267B #7B265E
triadic
#6E267B #7B6E26 #267B6E
tetradic
#6E267B #7B4426 #337B26 #265E7B
square
#6E267B #7B4426 #337B26 #265E7B
split-complementary
#6E267B #5E7B26 #267B44
monochromatic
#1A091D #44184C #6E267B #9834AA #B752CA

Accessibility & contrast

On white

9.43
#6E267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E267B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E267B#FFFFFF#000000##FFFFFF
##6E267B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417D
Deuteranopia (green-blind)
#2F4979
Tritanopia (blue-blind)
#6F354D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e267b;
/* rgb */ color: rgb(110, 38, 123);
/* oklch */ color: oklch(41.3% 0.150 321.2);
Tailwind
colors: {
  custom: {
    50: '#9a67a1',
    500: '#6e267b',
    950: '#000000',
  },
}
SCSS
$custom: #6e267b;
$custom-light: #9a67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e267b",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 290.824,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.14957,
    "h": 321.2
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#6E267B
secondary
#5EAD50
accent
#DC4C62
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E267B

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

Preview Lab → · Contrast checker → · Palette generator →

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