#6E2BAF#6E2BAF

#6E2BAF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.196 H 302.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6E2BAF
RGBrgb(110, 43, 175)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 75%, 69%)
CMYKcmyk(37.1%, 75.4%, 0%, 31.4%)
CIE-LABlab(34.27, 53.71, -58.14)
CIE-LCHlch(34.27, 79.15, 312.73°)
OKLaboklab(45.75% 0.1042 -0.1658)
OKLCHoklch(45.75% 0.196 302.1)
XYZxyz(15.0303, 8.1378, 41.3280)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BAF #6CAF2B
analogous
#2C2BAF #6E2BAF #AF2BAE
triadic
#6E2BAF #AF6E2B #2BAF6E
tetradic
#6E2BAF #AF2C2B #6CAF2B #2BAEAF
square
#6E2BAF #AF2C2B #6CAF2B #2BAEAF
split-complementary
#6E2BAF #AEAF2B #2BAF2C
monochromatic
#30134D #4F1F7E #6E2BAF #8D46D1 #AB77DE

Accessibility & contrast

On white

7.99
#6E2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6E2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BAF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BAF#FFFFFF#000000##FFFFFF
##6E2BAF1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#604D6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2baf;
/* rgb */ color: rgb(110, 43, 175);
/* oklch */ color: oklch(45.8% 0.196 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d6bc8',
    500: '#6e2baf',
    950: '#000000',
  },
}
SCSS
$custom: #6e2baf;
$custom-light: #9d6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2baf",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 270.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.19586,
    "h": 302.1
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#6E2BAF
secondary
#9AC570
accent
#E44493
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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