#6A2A9B#6A2A9B

#6A2A9B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.175 H 306.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6A2A9B
RGBrgb(106, 42, 155)
HSLhsl(274, 57%, 39%)
HSVhsv(274, 73%, 61%)
CMYKcmyk(31.6%, 72.9%, 0%, 39.2%)
CIE-LABlab(32.00, 48.62, -49.80)
CIE-LCHlch(32.00, 69.59, 314.31°)
OKLaboklab(43.55% 0.1035 -0.1414)
OKLCHoklch(43.55% 0.175 306.2)
XYZxyz(12.6869, 7.0868, 31.7035)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2A9B #5B9B2A
analogous
#312A9B #6A2A9B #9B2A93
triadic
#6A2A9B #9B6A2A #2A9B6A
tetradic
#6A2A9B #9B312A #5B9B2A #2A939B
square
#6A2A9B #9B312A #5B9B2A #2A939B
split-complementary
#6A2A9B #939B2A #2A9B31
monochromatic
#28103B #491D6B #6A2A9B #8B39C9 #A769D6

Accessibility & contrast

On white

8.69
#6A2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6A2A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2A9B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2A9B#FFFFFF#000000##FFFFFF
##6A2A9B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#614460
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a2a9b;
/* rgb */ color: rgb(106, 42, 155);
/* oklch */ color: oklch(43.5% 0.175 306.2);
Tailwind
colors: {
  custom: {
    50: '#9969b9',
    500: '#6a2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #6a2a9b;
$custom-light: #9969b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2a9b",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 273.982,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.17528,
    "h": 306.2
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#6A2A9B
secondary
#8BBD64
accent
#E1478A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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