#6E2CAF#6E2CAF

#6E2CAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.195 H 302.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6E2CAF
RGBrgb(110, 44, 175)
HSLhsl(270, 60%, 43%)
HSVhsv(270, 75%, 69%)
CMYKcmyk(37.1%, 74.9%, 0%, 31.4%)
CIE-LABlab(34.42, 53.28, -57.89)
CIE-LCHlch(34.42, 78.68, 312.62°)
OKLaboklab(45.86% 0.1033 -0.1651)
OKLCHoklch(45.86% 0.195 302)
XYZxyz(15.0671, 8.2115, 41.3403)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2CAF #6DAF2C
analogous
#2D2CAF #6E2CAF #AF2CAE
triadic
#6E2CAF #AF6E2C #2CAF6E
tetradic
#6E2CAF #AF2D2C #6DAF2C #2CAEAF
square
#6E2CAF #AF2D2C #6DAF2C #2CAEAF
split-complementary
#6E2CAF #AEAF2C #2CAF2D
monochromatic
#31134D #4F207E #6E2CAF #8D47D1 #AB78DD

Accessibility & contrast

On white

7.95
#6E2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6E2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2CAF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2CAF#FFFFFF#000000##FFFFFF
##6E2CAF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.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: #6e2caf;
/* rgb */ color: rgb(110, 44, 175);
/* oklch */ color: oklch(45.9% 0.195 302.0);
Tailwind
colors: {
  custom: {
    50: '#9d6cc8',
    500: '#6e2caf',
    950: '#000000',
  },
}
SCSS
$custom: #6e2caf;
$custom-light: #9d6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2caf",
  "rgb": {
    "r": 110,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 270.229,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.19477,
    "h": 302
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#6E2CAF
secondary
#9BC572
accent
#E34593
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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