#6E2295#6E2295

#6E2295 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.180 H 311.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6E2295
RGBrgb(110, 34, 149)
HSLhsl(280, 63%, 36%)
HSVhsv(280, 77%, 58%)
CMYKcmyk(26.2%, 77.2%, 0%, 41.6%)
CIE-LABlab(30.95, 51.41, -47.81)
CIE-LCHlch(30.95, 70.21, 317.07°)
OKLaboklab(42.78% 0.118 -0.1354)
OKLCHoklch(42.78% 0.18 311.1)
XYZxyz(12.4262, 6.6293, 29.0529)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2295 #499522
analogous
#342295 #6E2295 #952282
triadic
#6E2295 #956E22 #22956E
tetradic
#6E2295 #953422 #499522 #228295
square
#6E2295 #953422 #499522 #228295
split-complementary
#6E2295 #829522 #229534
monochromatic
#240B31 #491763 #6E2295 #932DC7 #AD58D9

Accessibility & contrast

On white

9.03
#6E2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6E2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2295
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2295#FFFFFF#000000##FFFFFF
##6E22951.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#084A93
Tritanopia (blue-blind)
#693D5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2295;
/* rgb */ color: rgb(110, 34, 149);
/* oklch */ color: oklch(42.8% 0.180 311.1);
Tailwind
colors: {
  custom: {
    50: '#9c66b5',
    500: '#6e2295',
    950: '#000000',
  },
}
SCSS
$custom: #6e2295;
$custom-light: #9c66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2295",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 279.652,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42778,
    "c": 0.17965,
    "h": 311.1
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#6E2295
secondary
#79BD56
accent
#E6427A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2295

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

Preview Lab → · Contrast checker → · Palette generator →

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