#6E2DBA#6E2DBA

#6E2DBA is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.205 H 299.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6E2DBA
RGBrgb(110, 45, 186)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 73%)
CMYKcmyk(40.9%, 75.8%, 0%, 27.1%)
CIE-LABlab(35.47, 55.53, -62.70)
CIE-LCHlch(35.47, 83.75, 311.53°)
OKLaboklab(46.88% 0.0998 -0.1793)
OKLCHoklch(46.88% 0.205 299.1)
XYZxyz(16.2295, 8.7367, 47.2762)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DBA #79BA2D
analogous
#2D32BA #6E2DBA #B52DBA
triadic
#6E2DBA #BA6E2D #2DBA6E
tetradic
#6E2DBA #BA2D32 #79BA2D #2DBAB5
square
#6E2DBA #BA2D32 #79BA2D #2DBAB5
split-complementary
#6E2DBA #BAB52D #32BA2D
monochromatic
#341557 #512189 #6E2DBA #8D50D5 #AD81E0

Accessibility & contrast

On white

7.64
#6E2DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6E2DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DBA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DBA#FFFFFF#000000##FFFFFF
##6E2DBA1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#5C5272
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e2dba;
/* rgb */ color: rgb(110, 45, 186);
/* oklch */ color: oklch(46.9% 0.205 299.1);
Tailwind
colors: {
  custom: {
    50: '#9e6dd0',
    500: '#6e2dba',
    950: '#000000',
  },
}
SCSS
$custom: #6e2dba;
$custom-light: #9e6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2dba",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 267.66,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.20517,
    "h": 299.1
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#6E2DBA
secondary
#A5C979
accent
#E4449A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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