#6E2BA7#6E2BA7

#6E2BA7 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.188 H 304.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6E2BA7
RGBrgb(110, 43, 167)
HSLhsl(272, 59%, 41%)
HSVhsv(272, 74%, 65%)
CMYKcmyk(34.1%, 74.3%, 0%, 34.5%)
CIE-LABlab(33.63, 51.80, -54.38)
CIE-LCHlch(33.63, 75.10, 313.61°)
OKLaboklab(45.11% 0.1059 -0.1548)
OKLCHoklch(45.11% 0.188 304.4)
XYZxyz(14.2677, 7.8328, 37.3120)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BA7 #64A72B
analogous
#302BA7 #6E2BA7 #A72BA2
triadic
#6E2BA7 #A76E2B #2BA76E
tetradic
#6E2BA7 #A7302B #64A72B #2BA2A7
square
#6E2BA7 #A7302B #64A72B #2BA2A7
split-complementary
#6E2BA7 #A2A72B #2BA730
monochromatic
#2E1246 #4E1E76 #6E2BA7 #8D41CE #AA72DB

Accessibility & contrast

On white

8.18
#6E2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6E2BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BA7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BA7#FFFFFF#000000##FFFFFF
##6E2BA71.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#634967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2ba7;
/* rgb */ color: rgb(110, 43, 167);
/* oklch */ color: oklch(45.1% 0.188 304.4);
Tailwind
colors: {
  custom: {
    50: '#9d6bc2',
    500: '#6e2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ba7;
$custom-light: #9d6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ba7",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 272.419,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45107,
    "c": 0.18759,
    "h": 304.4
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#6E2BA7
secondary
#93C26C
accent
#E2468E
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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