#6A2EBF#6A2EBF

#6A2EBF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.209 H 296.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6A2EBF
RGBrgb(106, 46, 191)
HSLhsl(265, 61%, 46%)
HSVhsv(265, 76%, 75%)
CMYKcmyk(44.5%, 75.9%, 0%, 25.1%)
CIE-LABlab(35.56, 55.69, -65.53)
CIE-LCHlch(35.56, 86.00, 310.36°)
OKLaboklab(46.96% 0.0918 -0.1877)
OKLCHoklch(46.96% 0.209 296.1)
XYZxyz(16.3223, 8.7794, 50.1147)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EBF #83BF2E
analogous
#2E3ABF #6A2EBF #B32EBF
triadic
#6A2EBF #BF6A2E #2EBF6A
tetradic
#6A2EBF #BF2E3A #83BF2E #2EBFB3
square
#6A2EBF #BF2E3A #83BF2E #2EBFB3
split-complementary
#6A2EBF #BFB32E #3ABF2E
monochromatic
#33165C #4F228E #6A2EBF #8A54D6 #AC86E2

Accessibility & contrast

On white

7.62
#6A2EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6A2EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EBF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EBF#FFFFFF#000000##FFFFFF
##6A2EBF1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#535575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a2ebf;
/* rgb */ color: rgb(106, 46, 191);
/* oklch */ color: oklch(47.0% 0.209 296.1);
Tailwind
colors: {
  custom: {
    50: '#9c6dd3',
    500: '#6a2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ebf;
$custom-light: #9c6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ebf",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 264.828,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46961,
    "c": 0.20896,
    "h": 296.1
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#6A2EBF
secondary
#ABCB7E
accent
#E444A2
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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