#6A2BA8#6A2BA8

#6A2BA8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.188 H 302.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6A2BA8
RGBrgb(106, 43, 168)
HSLhsl(270, 59%, 41%)
HSVhsv(270, 74%, 66%)
CMYKcmyk(36.9%, 74.4%, 0%, 34.1%)
CIE-LABlab(33.18, 51.30, -55.75)
CIE-LCHlch(33.18, 75.76, 312.62°)
OKLaboklab(44.7% 0.1 -0.159)
OKLCHoklch(44.7% 0.188 302.2)
XYZxyz(13.8739, 7.6190, 37.7779)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BA8 #69A82B
analogous
#2C2BA8 #6A2BA8 #A82BA8
triadic
#6A2BA8 #A86A2B #2BA86A
tetradic
#6A2BA8 #A82C2B #69A82B #2BA8A8
square
#6A2BA8 #A82C2B #69A82B #2BA8A8
split-complementary
#6A2BA8 #A8A82B #2BA82C
monochromatic
#2D1247 #4B1F77 #6A2BA8 #8942CF #A772DB

Accessibility & contrast

On white

8.32
#6A2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6A2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BA8
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BA8#FFFFFF#000000##FFFFFF
##6A2BA81.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#5D4A67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2ba8;
/* rgb */ color: rgb(106, 43, 168);
/* oklch */ color: oklch(44.7% 0.188 302.2);
Tailwind
colors: {
  custom: {
    50: '#9a6bc3',
    500: '#6a2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ba8;
$custom-light: #9a6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ba8",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 270.24,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44695,
    "c": 0.1878,
    "h": 302.2
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#6A2BA8
secondary
#97C26C
accent
#E24593
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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