#6A41B2#6A41B2

#6A41B2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.3% C 0.171 H 296.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6A41B2
RGBrgb(106, 65, 178)
HSLhsl(262, 47%, 48%)
HSVhsv(262, 63%, 70%)
CMYKcmyk(40.4%, 63.5%, 0%, 30.2%)
CIE-LABlab(37.95, 42.78, -53.97)
CIE-LCHlch(37.95, 68.87, 308.41°)
OKLaboklab(48.35% 0.0753 -0.1538)
OKLCHoklch(48.35% 0.171 296.1)
XYZxyz(15.8679, 10.0588, 43.2164)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41B2 #89B241
analogous
#4150B2 #6A41B2 #A241B2
triadic
#6A41B2 #B26A41 #41B26A
tetradic
#6A41B2 #B24150 #89B241 #41B2A2
square
#6A41B2 #B24150 #89B241 #41B2A2
split-complementary
#6A41B2 #B2A241 #50B241
monochromatic
#352058 #4F3185 #6A41B2 #8B68C8 #AD95D8

Accessibility & contrast

On white

6.97
#6A41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6A41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41B2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41B2#FFFFFF#000000##FFFFFF
##6A41B21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#585B73
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a41b2;
/* rgb */ color: rgb(106, 65, 178);
/* oklch */ color: oklch(48.3% 0.171 296.1);
Tailwind
colors: {
  custom: {
    50: '#9a78ca',
    500: '#6a41b2',
    950: '#000000',
  },
}
SCSS
$custom: #6a41b2;
$custom-light: #9a78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41b2",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 261.77,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48348,
    "c": 0.17123,
    "h": 296.1
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#6A41B2
secondary
#AFC48B
accent
#D652A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6A41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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