#6E2BA9#6E2BA9

#6E2BA9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.190 H 303.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6E2BA9
RGBrgb(110, 43, 169)
HSLhsl(272, 59%, 42%)
HSVhsv(272, 75%, 66%)
CMYKcmyk(34.9%, 74.6%, 0%, 33.7%)
CIE-LABlab(33.79, 52.27, -55.33)
CIE-LCHlch(33.79, 76.12, 313.37°)
OKLaboklab(45.27% 0.1055 -0.1576)
OKLCHoklch(45.27% 0.19 303.8)
XYZxyz(14.4541, 7.9074, 38.2932)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BA9 #66A92B
analogous
#2F2BA9 #6E2BA9 #A92BA5
triadic
#6E2BA9 #A96E2B #2BA96E
tetradic
#6E2BA9 #A92F2B #66A92B #2BA5A9
square
#6E2BA9 #A92F2B #66A92B #2BA5A9
split-complementary
#6E2BA9 #A5A92B #2BA92F
monochromatic
#2E1247 #4E1F78 #6E2BA9 #8D42CF #AB73DB

Accessibility & contrast

On white

8.14
#6E2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6E2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BA9
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BA9#FFFFFF#000000##FFFFFF
##6E2BA91.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#624A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2ba9;
/* rgb */ color: rgb(110, 43, 169);
/* oklch */ color: oklch(45.3% 0.190 303.8);
Tailwind
colors: {
  custom: {
    50: '#9d6bc3',
    500: '#6e2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ba9;
$custom-light: #9d6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ba9",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 271.905,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.18966,
    "h": 303.8
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#6E2BA9
secondary
#95C36D
accent
#E3458F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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