#6E2BA4#6E2BA4

#6E2BA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.184 H 305.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6E2BA4
RGBrgb(110, 43, 164)
HSLhsl(273, 58%, 41%)
HSVhsv(273, 74%, 64%)
CMYKcmyk(32.9%, 73.8%, 0%, 35.7%)
CIE-LABlab(33.40, 51.09, -52.96)
CIE-LCHlch(33.40, 73.58, 313.97°)
OKLaboklab(44.87% 0.1065 -0.1506)
OKLCHoklch(44.87% 0.184 305.3)
XYZxyz(13.9936, 7.7232, 35.8683)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BA4 #61A42B
analogous
#312BA4 #6E2BA4 #A42B9D
triadic
#6E2BA4 #A46E2B #2BA46E
tetradic
#6E2BA4 #A4312B #61A42B #2B9DA4
square
#6E2BA4 #A4312B #61A42B #2B9DA4
split-complementary
#6E2BA4 #9DA42B #2BA431
monochromatic
#2D1243 #4D1E74 #6E2BA4 #8E3FCD #AA70D9

Accessibility & contrast

On white

8.25
#6E2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6E2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BA4
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BA4#FFFFFF#000000##FFFFFF
##6E2BA41.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#644865
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2ba4;
/* rgb */ color: rgb(110, 43, 164);
/* oklch */ color: oklch(44.9% 0.184 305.3);
Tailwind
colors: {
  custom: {
    50: '#9d6bc0',
    500: '#6e2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ba4;
$custom-light: #9d6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ba4",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 273.223,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.18447,
    "h": 305.3
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#6E2BA4
secondary
#91C16A
accent
#E2468C
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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