#6A2D94#6A2D94

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

Color values

HEX#6A2D94
RGBrgb(106, 45, 148)
HSLhsl(276, 53%, 38%)
HSVhsv(276, 70%, 58%)
CMYKcmyk(28.4%, 69.6%, 0%, 42%)
CIE-LABlab(31.99, 45.56, -45.55)
CIE-LCHlch(31.99, 64.42, 315.01°)
OKLaboklab(43.37% 0.1013 -0.129)
OKLCHoklch(43.37% 0.164 308.1)
XYZxyz(12.2264, 7.0792, 28.7336)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D94 #57942D
analogous
#362D94 #6A2D94 #942D8A
triadic
#6A2D94 #946A2D #2D946A
tetradic
#6A2D94 #94362D #57942D #2D8A94
square
#6A2D94 #94362D #57942D #2D8A94
split-complementary
#6A2D94 #8A942D #2D9436
monochromatic
#271036 #481F65 #6A2D94 #8C3BC3 #A76AD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A2D94#FFFFFF#000000##FFFFFF
##6A2D941.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)
#004997
Deuteranopia (green-blind)
#164C92
Tritanopia (blue-blind)
#63435D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a2d94;
/* rgb */ color: rgb(106, 45, 148);
/* oklch */ color: oklch(43.4% 0.164 308.1);
Tailwind
colors: {
  custom: {
    50: '#986bb4',
    500: '#6a2d94',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d94;
$custom-light: #986bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d94",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 275.534,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.16399,
    "h": 308.1
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#6A2D94
secondary
#87B864
accent
#DD4B86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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