#6A2EC9#6A2EC9

#6A2EC9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.220 H 293.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6A2EC9
RGBrgb(106, 46, 201)
HSLhsl(263, 63%, 48%)
HSVhsv(263, 77%, 79%)
CMYKcmyk(47.3%, 77.1%, 0%, 21.2%)
CIE-LABlab(36.43, 58.23, -69.94)
CIE-LCHlch(36.43, 91.01, 309.78°)
OKLaboklab(47.84% 0.0891 -0.2007)
OKLCHoklch(47.84% 0.22 293.9)
XYZxyz(17.4606, 9.2347, 56.1095)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EC9 #8DC92E
analogous
#2E3FC9 #6A2EC9 #B72EC9
triadic
#6A2EC9 #C96A2E #2EC96A
tetradic
#6A2EC9 #C92E3F #8DC92E #2EC9B7
square
#6A2EC9 #C92E3F #8DC92E #2EC9B7
split-complementary
#6A2EC9 #C9B72E #3FC92E
monochromatic
#351765 #502397 #6A2EC9 #8C5BD9 #AF8DE5

Accessibility & contrast

On white

7.38
#6A2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6A2EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EC9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EC9#FFFFFF#000000##FFFFFF
##6A2EC91.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#4D597B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a2ec9;
/* rgb */ color: rgb(106, 46, 201);
/* oklch */ color: oklch(47.8% 0.220 293.9);
Tailwind
colors: {
  custom: {
    50: '#9e6edb',
    500: '#6a2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ec9;
$custom-light: #9e6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ec9",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 263.226,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.21955,
    "h": 293.9
  },
  "luminance": 0.09235
}

Semantic roles & 50–950 ramp

primary
#6A2EC9
secondary
#B2CF84
accent
#E642A6
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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