#6A2FB8#6A2FB8

#6A2FB8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.200 H 297.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6A2FB8
RGBrgb(106, 47, 184)
HSLhsl(266, 59%, 45%)
HSVhsv(266, 74%, 72%)
CMYKcmyk(42.4%, 74.5%, 0%, 27.8%)
CIE-LABlab(35.12, 53.48, -62.12)
CIE-LCHlch(35.12, 81.97, 310.73°)
OKLaboklab(46.47% 0.0927 -0.1777)
OKLCHoklch(46.47% 0.2 297.6)
XYZxyz(15.6099, 8.5576, 46.1675)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2FB8 #7DB82F
analogous
#2F39B8 #6A2FB8 #AE2FB8
triadic
#6A2FB8 #B86A2F #2FB86A
tetradic
#6A2FB8 #B82F39 #7DB82F #2FB8AE
square
#6A2FB8 #B82F39 #7DB82F #2FB8AE
split-complementary
#6A2FB8 #B8AE2F #39B82F
monochromatic
#321657 #4E2387 #6A2FB8 #8952D3 #AA82DF

Accessibility & contrast

On white

7.74
#6A2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6A2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2FB8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2FB8#FFFFFF#000000##FFFFFF
##6A2FB81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#565371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a2fb8;
/* rgb */ color: rgb(106, 47, 184);
/* oklch */ color: oklch(46.5% 0.200 297.6);
Tailwind
colors: {
  custom: {
    50: '#9c6dce',
    500: '#6a2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #6a2fb8;
$custom-light: #9c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2fb8",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 265.839,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.20043,
    "h": 297.6
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#6A2FB8
secondary
#A7C87B
accent
#E2459F
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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