#6E229E#6E229E

#6E229E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.188 H 308.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6E229E
RGBrgb(110, 34, 158)
HSLhsl(277, 65%, 38%)
HSVhsv(277, 78%, 62%)
CMYKcmyk(30.4%, 78.5%, 0%, 38%)
CIE-LABlab(31.64, 53.40, -52.18)
CIE-LCHlch(31.64, 74.66, 315.66°)
OKLaboklab(43.48% 0.1161 -0.1483)
OKLCHoklch(43.48% 0.188 308.1)
XYZxyz(13.1727, 6.9279, 32.9844)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E229E #529E22
analogous
#30229E #6E229E #9E2290
triadic
#6E229E #9E6E22 #229E6E
tetradic
#6E229E #9E3022 #529E22 #22909E
square
#6E229E #9E3022 #529E22 #22909E
split-complementary
#6E229E #909E22 #229E30
monochromatic
#280C39 #4B176C #6E229E #912DD0 #AB5EDC

Accessibility & contrast

On white

8.80
#6E229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6E229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E229E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E229E#FFFFFF#000000##FFFFFF
##6E229E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#664160
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e229e;
/* rgb */ color: rgb(110, 34, 158);
/* oklch */ color: oklch(43.5% 0.188 308.1);
Tailwind
colors: {
  custom: {
    50: '#9d66bb',
    500: '#6e229e',
    950: '#000000',
  },
}
SCSS
$custom: #6e229e;
$custom-light: #9d66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e229e",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 276.774,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.18834,
    "h": 308.1
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#6E229E
secondary
#82C15B
accent
#E84081
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E229E

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

Preview Lab → · Contrast checker → · Palette generator →

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