#6E2BA2#6E2BA2

#6E2BA2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.182 H 305.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6E2BA2
RGBrgb(110, 43, 162)
HSLhsl(274, 58%, 40%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(32.1%, 73.5%, 0%, 36.5%)
CIE-LABlab(33.25, 50.62, -52.00)
CIE-LCHlch(33.25, 72.57, 314.23°)
OKLaboklab(44.71% 0.1069 -0.1478)
OKLCHoklch(44.71% 0.182 305.9)
XYZxyz(13.8144, 7.6515, 34.9245)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BA2 #5FA22B
analogous
#332BA2 #6E2BA2 #A22B9A
triadic
#6E2BA2 #A26E2B #2BA26E
tetradic
#6E2BA2 #A2332B #5FA22B #2B9AA2
square
#6E2BA2 #A2332B #5FA22B #2B9AA2
split-complementary
#6E2BA2 #9AA22B #2BA233
monochromatic
#2C1141 #4D1E72 #6E2BA2 #8E3ECC #AA6FD9

Accessibility & contrast

On white

8.30
#6E2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6E2BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BA2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BA2#FFFFFF#000000##FFFFFF
##6E2BA21.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#654764
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2ba2;
/* rgb */ color: rgb(110, 43, 162);
/* oklch */ color: oklch(44.7% 0.182 305.9);
Tailwind
colors: {
  custom: {
    50: '#9c6bbe',
    500: '#6e2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ba2;
$custom-light: #9c6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ba2",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 273.782,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.18239,
    "h": 305.9
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#6E2BA2
secondary
#8FC069
accent
#E1478A
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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