#6E2267#6E2267

#6E2267 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.137 H 331.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#6E2267
RGBrgb(110, 34, 103)
HSLhsl(306, 53%, 28%)
HSVhsv(306, 69%, 43%)
CMYKcmyk(0%, 69.1%, 6.4%, 56.9%)
CIE-LABlab(27.95, 42.20, -23.66)
CIE-LCHlch(27.95, 48.38, 330.72°)
OKLaboklab(39.68% 0.1207 -0.0649)
OKLCHoklch(39.68% 0.137 331.7)
XYZxyz(9.4506, 5.4390, 13.3814)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2267 #226E29
analogous
#4F226E #6E2267 #6E2241
triadic
#6E2267 #676E22 #22676E
tetradic
#6E2267 #6E4F22 #226E29 #22416E
square
#6E2267 #6E4F22 #226E29 #22416E
split-complementary
#6E2267 #416E22 #226E4F
monochromatic
#170716 #3F143B #6E2267 #9D3093 #C545BA

Accessibility & contrast

On white

10.06
#6E2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6E2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2267
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2267#FFFFFF#000000##FFFFFF
##6E22671.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B69
Deuteranopia (green-blind)
#384665
Tritanopia (blue-blind)
#732A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e2267;
/* rgb */ color: rgb(110, 34, 103);
/* oklch */ color: oklch(39.7% 0.137 331.7);
Tailwind
colors: {
  custom: {
    50: '#9a6492',
    500: '#6e2267',
    950: '#000000',
  },
}
SCSS
$custom: #6e2267;
$custom-light: #9a6492;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2267",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 305.526,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.13703,
    "h": 331.7
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#6E2267
secondary
#4AA152
accent
#DC594C
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6E2267

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

Preview Lab → · Contrast checker → · Palette generator →

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