#6E2BA5#6E2BA5

#6E2BA5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.186 H 305.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6E2BA5
RGBrgb(110, 43, 165)
HSLhsl(273, 59%, 41%)
HSVhsv(273, 74%, 65%)
CMYKcmyk(33.3%, 73.9%, 0%, 35.3%)
CIE-LABlab(33.48, 51.33, -53.43)
CIE-LCHlch(33.48, 74.09, 313.85°)
OKLaboklab(44.95% 0.1063 -0.152)
OKLCHoklch(44.95% 0.186 305)
XYZxyz(14.0843, 7.7594, 36.3458)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BA5 #62A52B
analogous
#312BA5 #6E2BA5 #A52B9F
triadic
#6E2BA5 #A56E2B #2BA56E
tetradic
#6E2BA5 #A5312B #62A52B #2B9FA5
square
#6E2BA5 #A5312B #62A52B #2B9FA5
split-complementary
#6E2BA5 #9FA52B #2BA531
monochromatic
#2D1244 #4E1E74 #6E2BA5 #8E40CD #AA71DA

Accessibility & contrast

On white

8.23
#6E2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6E2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BA5
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BA5#FFFFFF#000000##FFFFFF
##6E2BA51.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2ba5;
/* rgb */ color: rgb(110, 43, 165);
/* oklch */ color: oklch(44.9% 0.186 305.0);
Tailwind
colors: {
  custom: {
    50: '#9d6bc1',
    500: '#6e2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ba5;
$custom-light: #9d6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ba5",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 272.951,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.18551,
    "h": 305
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#6E2BA5
secondary
#92C16B
accent
#E2468C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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