#6A2D95#6A2D95

#6A2D95 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.165 H 307.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6A2D95
RGBrgb(106, 45, 149)
HSLhsl(275, 54%, 38%)
HSVhsv(275, 70%, 58%)
CMYKcmyk(28.9%, 69.8%, 0%, 41.6%)
CIE-LABlab(32.06, 45.80, -46.05)
CIE-LCHlch(32.06, 64.94, 314.85°)
OKLaboklab(43.45% 0.1011 -0.1304)
OKLCHoklch(43.45% 0.165 307.8)
XYZxyz(12.3059, 7.1110, 29.1522)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D95 #58952D
analogous
#362D95 #6A2D95 #952D8C
triadic
#6A2D95 #956A2D #2D956A
tetradic
#6A2D95 #95362D #58952D #2D8C95
square
#6A2D95 #95362D #58952D #2D8C95
split-complementary
#6A2D95 #8C952D #2D9536
monochromatic
#271137 #491F66 #6A2D95 #8B3BC4 #A76AD2

Accessibility & contrast

On white

8.67
#6A2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2D95
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2D95#FFFFFF#000000##FFFFFF
##6A2D951.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#144C93
Tritanopia (blue-blind)
#63445D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a2d95;
/* rgb */ color: rgb(106, 45, 149);
/* oklch */ color: oklch(43.4% 0.165 307.8);
Tailwind
colors: {
  custom: {
    50: '#986bb5',
    500: '#6a2d95',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d95;
$custom-light: #986bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d95",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 275.192,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43445,
    "c": 0.16507,
    "h": 307.8
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#6A2D95
secondary
#88B965
accent
#DD4B87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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