#6E2FBA#6E2FBA

#6E2FBA is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.203 H 298.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6E2FBA
RGBrgb(110, 47, 186)
HSLhsl(267, 60%, 46%)
HSVhsv(267, 75%, 73%)
CMYKcmyk(40.9%, 74.7%, 0%, 27.1%)
CIE-LABlab(35.78, 54.66, -62.20)
CIE-LCHlch(35.78, 82.80, 311.31°)
OKLaboklab(47.1% 0.0981 -0.1778)
OKLCHoklch(47.1% 0.203 298.9)
XYZxyz(16.3076, 8.8930, 47.3022)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FBA #7BBA2F
analogous
#2F35BA #6E2FBA #B32FBA
triadic
#6E2FBA #BA6E2F #2FBA6E
tetradic
#6E2FBA #BA2F35 #7BBA2F #2FBAB3
square
#6E2FBA #BA2F35 #7BBA2F #2FBAB3
split-complementary
#6E2FBA #BAB32F #35BA2F
monochromatic
#341658 #512389 #6E2FBA #8D53D3 #AD84E0

Accessibility & contrast

On white

7.56
#6E2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6E2FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2FBA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FBA#FFFFFF#000000##FFFFFF
##6E2FBA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#5B5372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e2fba;
/* rgb */ color: rgb(110, 47, 186);
/* oklch */ color: oklch(47.1% 0.203 298.9);
Tailwind
colors: {
  custom: {
    50: '#9e6ed0',
    500: '#6e2fba',
    950: '#000000',
  },
}
SCSS
$custom: #6e2fba;
$custom-light: #9e6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2fba",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 267.194,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47095,
    "c": 0.20305,
    "h": 298.9
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#6E2FBA
secondary
#A6C97C
accent
#E3459B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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