#6A2EBD#6A2EBD

#6A2EBD is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.207 H 296.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6A2EBD
RGBrgb(106, 46, 189)
HSLhsl(265, 61%, 46%)
HSVhsv(265, 76%, 74%)
CMYKcmyk(43.9%, 75.7%, 0%, 25.9%)
CIE-LABlab(35.38, 55.19, -64.63)
CIE-LCHlch(35.38, 84.99, 310.49°)
OKLaboklab(46.79% 0.0923 -0.1851)
OKLCHoklch(46.79% 0.207 296.5)
XYZxyz(16.1037, 8.6919, 48.9635)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EBD #81BD2E
analogous
#2E39BD #6A2EBD #B12EBD
triadic
#6A2EBD #BD6A2E #2EBD6A
tetradic
#6A2EBD #BD2E39 #81BD2E #2EBDB1
square
#6A2EBD #BD2E39 #81BD2E #2EBDB1
split-complementary
#6A2EBD #BDB12E #39BD2E
monochromatic
#33165B #4E228C #6A2EBD #8A53D5 #AB84E1

Accessibility & contrast

On white

7.67
#6A2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6A2EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EBD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EBD#FFFFFF#000000##FFFFFF
##6A2EBD1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#545474
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a2ebd;
/* rgb */ color: rgb(106, 46, 189);
/* oklch */ color: oklch(46.8% 0.207 296.5);
Tailwind
colors: {
  custom: {
    50: '#9c6dd2',
    500: '#6a2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ebd;
$custom-light: #9c6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ebd",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 265.175,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.20684,
    "h": 296.5
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#6A2EBD
secondary
#AACA7C
accent
#E444A1
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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