#6A2EA5#6A2EA5

#6A2EA5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.181 H 302.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6A2EA5
RGBrgb(106, 46, 165)
HSLhsl(270, 56%, 41%)
HSVhsv(270, 72%, 65%)
CMYKcmyk(35.8%, 72.1%, 0%, 35.3%)
CIE-LABlab(33.42, 49.19, -53.54)
CIE-LCHlch(33.42, 72.71, 312.57°)
OKLaboklab(44.8% 0.0977 -0.1525)
OKLCHoklch(44.8% 0.181 302.6)
XYZxyz(13.7108, 7.7348, 36.3606)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EA5 #69A52E
analogous
#2F2EA5 #6A2EA5 #A52EA5
triadic
#6A2EA5 #A56A2E #2EA56A
tetradic
#6A2EA5 #A52F2E #69A52E #2EA5A5
square
#6A2EA5 #A52F2E #69A52E #2EA5A5
split-complementary
#6A2EA5 #A5A52E #2EA52F
monochromatic
#2D1345 #4B2175 #6A2EA5 #8945CB #A775D8

Accessibility & contrast

On white

8.24
#6A2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6A2EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EA5
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EA5#FFFFFF#000000##FFFFFF
##6A2EA51.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#5E4B66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a2ea5;
/* rgb */ color: rgb(106, 46, 165);
/* oklch */ color: oklch(44.8% 0.181 302.6);
Tailwind
colors: {
  custom: {
    50: '#9a6cc1',
    500: '#6a2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ea5;
$custom-light: #9a6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ea5",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 270.252,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.18108,
    "h": 302.6
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#6A2EA5
secondary
#97C06F
accent
#E04893
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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