#6A2EBB#6A2EBB

#6A2EBB is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.205 H 297.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#6A2EBB
RGBrgb(106, 46, 187)
HSLhsl(266, 61%, 46%)
HSVhsv(266, 75%, 73%)
CMYKcmyk(43.3%, 75.4%, 0%, 26.7%)
CIE-LABlab(35.21, 54.68, -63.73)
CIE-LCHlch(35.21, 83.98, 310.63°)
OKLaboklab(46.62% 0.0929 -0.1824)
OKLCHoklch(46.62% 0.205 297)
XYZxyz(15.8881, 8.6057, 47.8280)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EBB #7FBB2E
analogous
#2E38BB #6A2EBB #B02EBB
triadic
#6A2EBB #BB6A2E #2EBB6A
tetradic
#6A2EBB #BB2E38 #7FBB2E #2EBBB0
square
#6A2EBB #BB2E38 #7FBB2E #2EBBB0
split-complementary
#6A2EBB #BBB02E #38BB2E
monochromatic
#321659 #4E228A #6A2EBB #8952D4 #AB83E0

Accessibility & contrast

On white

7.72
#6A2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6A2EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EBB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EBB#FFFFFF#000000##FFFFFF
##6A2EBB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#555373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a2ebb;
/* rgb */ color: rgb(106, 46, 187);
/* oklch */ color: oklch(46.6% 0.205 297.0);
Tailwind
colors: {
  custom: {
    50: '#9c6dd1',
    500: '#6a2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ebb;
$custom-light: #9c6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ebb",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 265.532,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.20471,
    "h": 297
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#6A2EBB
secondary
#A8CA7B
accent
#E444A0
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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