#6A2D90#6A2D90

#6A2D90 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.160 H 309.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6A2D90
RGBrgb(106, 45, 144)
HSLhsl(277, 52%, 37%)
HSVhsv(277, 69%, 56%)
CMYKcmyk(26.4%, 68.7%, 0%, 43.5%)
CIE-LABlab(31.70, 44.62, -43.55)
CIE-LCHlch(31.70, 62.35, 315.70°)
OKLaboklab(43.08% 0.1017 -0.1231)
OKLCHoklch(43.08% 0.16 309.6)
XYZxyz(11.9153, 6.9548, 27.0949)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D90 #53902D
analogous
#392D90 #6A2D90 #902D85
triadic
#6A2D90 #906A2D #2D906A
tetradic
#6A2D90 #90392D #53902D #2D8590
square
#6A2D90 #90392D #53902D #2D8590
split-complementary
#6A2D90 #85902D #2D9039
monochromatic
#251033 #481E61 #6A2D90 #8C3CBF #A868D0

Accessibility & contrast

On white

8.78
#6A2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6A2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2D90
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2D90#FFFFFF#000000##FFFFFF
##6A2D901.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#1D4B8E
Tritanopia (blue-blind)
#65425B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a2d90;
/* rgb */ color: rgb(106, 45, 144);
/* oklch */ color: oklch(43.1% 0.160 309.6);
Tailwind
colors: {
  custom: {
    50: '#986bb1',
    500: '#6a2d90',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d90;
$custom-light: #986bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d90",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 276.97,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43079,
    "c": 0.15968,
    "h": 309.6
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#6A2D90
secondary
#83B662
accent
#DC4C83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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