#6A2F99#6A2F99

#6A2F99 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.167 H 306.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6A2F99
RGBrgb(106, 47, 153)
HSLhsl(273, 53%, 39%)
HSVhsv(273, 69%, 60%)
CMYKcmyk(30.7%, 69.3%, 0%, 40%)
CIE-LABlab(32.69, 45.79, -47.46)
CIE-LCHlch(32.69, 65.95, 313.97°)
OKLaboklab(43.99% 0.0984 -0.1346)
OKLCHoklch(43.99% 0.167 306.2)
XYZxyz(12.7089, 7.3972, 30.8891)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2F99 #5E992F
analogous
#352F99 #6A2F99 #992F93
triadic
#6A2F99 #996A2F #2F996A
tetradic
#6A2F99 #99352F #5E992F #2F9399
square
#6A2F99 #99352F #5E992F #2F9399
split-complementary
#6A2F99 #93992F #2F9935
monochromatic
#29123B #4A216A #6A2F99 #8A41C5 #A76FD3

Accessibility & contrast

On white

8.47
#6A2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6A2F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2F99
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2F99#FFFFFF#000000##FFFFFF
##6A2F991.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#0F4D97
Tritanopia (blue-blind)
#624760
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2f99;
/* rgb */ color: rgb(106, 47, 153);
/* oklch */ color: oklch(44.0% 0.167 306.2);
Tailwind
colors: {
  custom: {
    50: '#996cb8',
    500: '#6a2f99',
    950: '#000000',
  },
}
SCSS
$custom: #6a2f99;
$custom-light: #996cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2f99",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 273.396,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43992,
    "c": 0.16675,
    "h": 306.2
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#6A2F99
secondary
#8DBA69
accent
#DC4B8C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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