#6A2CB3#6A2CB3

#6A2CB3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.198 H 299.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6A2CB3
RGBrgb(106, 44, 179)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 75%, 70%)
CMYKcmyk(40.8%, 75.4%, 0%, 29.8%)
CIE-LABlab(34.23, 53.56, -60.60)
CIE-LCHlch(34.23, 80.88, 311.47°)
OKLaboklab(45.72% 0.0966 -0.1732)
OKLCHoklch(45.72% 0.198 299.1)
XYZxyz(14.9792, 8.1200, 43.4172)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CB3 #75B32C
analogous
#2C31B3 #6A2CB3 #AD2CB3
triadic
#6A2CB3 #B36A2C #2CB36A
tetradic
#6A2CB3 #B32C31 #75B32C #2CB3AD
square
#6A2CB3 #B32C31 #75B32C #2CB3AD
split-complementary
#6A2CB3 #B3AD2C #31B32C
monochromatic
#301451 #4D2082 #6A2CB3 #894AD2 #A97BDF

Accessibility & contrast

On white

8.00
#6A2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6A2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CB3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CB3#FFFFFF#000000##FFFFFF
##6A2CB31.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#584F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2cb3;
/* rgb */ color: rgb(106, 44, 179);
/* oklch */ color: oklch(45.7% 0.198 299.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ccb',
    500: '#6a2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cb3;
$custom-light: #9b6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cb3",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 267.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.19832,
    "h": 299.1
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#6A2CB3
secondary
#A1C774
accent
#E4449A
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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