#6A2E9F#6A2E9F

#6A2E9F is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.175 H 304.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6A2E9F
RGBrgb(106, 46, 159)
HSLhsl(272, 55%, 40%)
HSVhsv(272, 71%, 62%)
CMYKcmyk(33.3%, 71.1%, 0%, 37.6%)
CIE-LABlab(32.97, 47.72, -50.66)
CIE-LCHlch(32.97, 69.60, 313.29°)
OKLaboklab(44.33% 0.0987 -0.144)
OKLCHoklch(44.33% 0.175 304.4)
XYZxyz(13.1774, 7.5214, 33.5517)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2E9F #639F2E
analogous
#312E9F #6A2E9F #9F2E9C
triadic
#6A2E9F #9F6A2E #2E9F6A
tetradic
#6A2E9F #9F312E #639F2E #2E9C9F
square
#6A2E9F #9F312E #639F2E #2E9C9F
split-complementary
#6A2E9F #9C9F2E #2E9F31
monochromatic
#2B1340 #4A2070 #6A2E9F #8942C8 #A771D6

Accessibility & contrast

On white

8.39
#6A2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6A2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2E9F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2E9F#FFFFFF#000000##FFFFFF
##6A2E9F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#604863
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2e9f;
/* rgb */ color: rgb(106, 46, 159);
/* oklch */ color: oklch(44.3% 0.175 304.4);
Tailwind
colors: {
  custom: {
    50: '#996cbc',
    500: '#6a2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #6a2e9f;
$custom-light: #996cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2e9f",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 271.858,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44326,
    "c": 0.17458,
    "h": 304.4
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#6A2E9F
secondary
#92BE6B
accent
#DE498F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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