#6E2FAF#6E2FAF

#6E2FAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.191 H 301.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6E2FAF
RGBrgb(110, 47, 175)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(37.1%, 73.1%, 0%, 31.4%)
CIE-LABlab(34.89, 51.95, -57.13)
CIE-LCHlch(34.89, 77.21, 312.28°)
OKLaboklab(46.19% 0.1005 -0.1629)
OKLCHoklch(46.19% 0.191 301.7)
XYZxyz(15.1829, 8.4431, 41.3789)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FAF #70AF2F
analogous
#2F30AF #6E2FAF #AE2FAF
triadic
#6E2FAF #AF6E2F #2FAF6E
tetradic
#6E2FAF #AF2F30 #70AF2F #2FAFAE
square
#6E2FAF #AF2F30 #70AF2F #2FAFAE
split-complementary
#6E2FAF #AFAE2F #30AF2F
monochromatic
#31154F #50227F #6E2FAF #8D4CCF #AB7CDC

Accessibility & contrast

On white

7.81
#6E2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6E2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2FAF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FAF#FFFFFF#000000##FFFFFF
##6E2FAF1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#604F6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e2faf;
/* rgb */ color: rgb(110, 47, 175);
/* oklch */ color: oklch(46.2% 0.191 301.7);
Tailwind
colors: {
  custom: {
    50: '#9d6dc8',
    500: '#6e2faf',
    950: '#000000',
  },
}
SCSS
$custom: #6e2faf;
$custom-light: #9d6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2faf",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 269.531,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.19139,
    "h": 301.7
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#6E2FAF
secondary
#9EC475
accent
#E14795
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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