#6A2DB3#6A2DB3

#6A2DB3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.197 H 299.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6A2DB3
RGBrgb(106, 45, 179)
HSLhsl(267, 60%, 44%)
HSVhsv(267, 75%, 70%)
CMYKcmyk(40.8%, 74.9%, 0%, 29.8%)
CIE-LABlab(34.39, 53.12, -60.35)
CIE-LCHlch(34.39, 80.40, 311.35°)
OKLaboklab(45.83% 0.0957 -0.1725)
OKLCHoklch(45.83% 0.197 299)
XYZxyz(15.0169, 8.1954, 43.4298)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2DB3 #76B32D
analogous
#2D33B3 #6A2DB3 #AD2DB3
triadic
#6A2DB3 #B36A2D #2DB36A
tetradic
#6A2DB3 #B32D33 #76B32D #2DB3AD
square
#6A2DB3 #B32D33 #76B32D #2DB3AD
split-complementary
#6A2DB3 #B3AD2D #33B32D
monochromatic
#301451 #4D2182 #6A2DB3 #894BD2 #A97CDE

Accessibility & contrast

On white

7.96
#6A2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6A2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2DB3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2DB3#FFFFFF#000000##FFFFFF
##6A2DB31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#58506E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2db3;
/* rgb */ color: rgb(106, 45, 179);
/* oklch */ color: oklch(45.8% 0.197 299.0);
Tailwind
colors: {
  custom: {
    50: '#9b6ccb',
    500: '#6a2db3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2db3;
$custom-light: #9b6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2db3",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 267.313,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.19724,
    "h": 299
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#6A2DB3
secondary
#A2C775
accent
#E3459B
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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