#6A2FB3#6A2FB3

#6A2FB3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.195 H 298.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6A2FB3
RGBrgb(106, 47, 179)
HSLhsl(267, 58%, 44%)
HSVhsv(267, 74%, 70%)
CMYKcmyk(40.8%, 73.7%, 0%, 29.8%)
CIE-LABlab(34.70, 52.22, -59.83)
CIE-LCHlch(34.70, 79.41, 311.11°)
OKLaboklab(46.05% 0.0939 -0.171)
OKLCHoklch(46.05% 0.195 298.8)
XYZxyz(15.0950, 8.3517, 43.4558)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2FB3 #78B32F
analogous
#2F36B3 #6A2FB3 #AC2FB3
triadic
#6A2FB3 #B36A2F #2FB36A
tetradic
#6A2FB3 #B32F36 #78B32F #2FB3AC
square
#6A2FB3 #B32F36 #78B32F #2FB3AC
split-complementary
#6A2FB3 #B3AC2F #36B32F
monochromatic
#311652 #4D2283 #6A2FB3 #894FD1 #A97FDD

Accessibility & contrast

On white

7.86
#6A2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6A2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2FB3
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2FB3#FFFFFF#000000##FFFFFF
##6A2FB31.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#58516E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a2fb3;
/* rgb */ color: rgb(106, 47, 179);
/* oklch */ color: oklch(46.1% 0.195 298.8);
Tailwind
colors: {
  custom: {
    50: '#9b6dcb',
    500: '#6a2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2fb3;
$custom-light: #9b6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2fb3",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 266.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.19504,
    "h": 298.8
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#6A2FB3
secondary
#A3C678
accent
#E2469C
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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