#6E2A9F#6E2A9F

#6E2A9F is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.180 H 306.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6E2A9F
RGBrgb(110, 42, 159)
HSLhsl(275, 58%, 39%)
HSVhsv(275, 74%, 62%)
CMYKcmyk(30.8%, 73.6%, 0%, 37.6%)
CIE-LABlab(32.86, 50.36, -50.80)
CIE-LCHlch(32.86, 71.53, 314.75°)
OKLaboklab(44.37% 0.1084 -0.1443)
OKLCHoklch(44.37% 0.18 306.9)
XYZxyz(13.5150, 7.4743, 33.5249)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A9F #5B9F2A
analogous
#342A9F #6E2A9F #9F2A96
triadic
#6E2A9F #9F6E2A #2A9F6E
tetradic
#6E2A9F #9F342A #5B9F2A #2A969F
square
#6E2A9F #9F342A #5B9F2A #2A969F
split-complementary
#6E2A9F #969F2A #2A9F34
monochromatic
#2B103E #4D1D6F #6E2A9F #8F3BCB #AB6BD8

Accessibility & contrast

On white

8.42
#6E2A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6E2A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A9F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A9F#FFFFFF#000000##FFFFFF
##6E2A9F1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#664662
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e2a9f;
/* rgb */ color: rgb(110, 42, 159);
/* oklch */ color: oklch(44.4% 0.180 306.9);
Tailwind
colors: {
  custom: {
    50: '#9c6abc',
    500: '#6e2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a9f;
$custom-light: #9c6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a9f",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 274.872,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.18048,
    "h": 306.9
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#6E2A9F
secondary
#8BBF66
accent
#E14687
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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