#6A3EAF#6A3EAF

#6A3EAF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.172 H 297.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6A3EAF
RGBrgb(106, 62, 175)
HSLhsl(263, 48%, 46%)
HSVhsv(263, 65%, 69%)
CMYKcmyk(39.4%, 64.6%, 0%, 31.4%)
CIE-LABlab(37.12, 43.62, -53.52)
CIE-LCHlch(37.12, 69.05, 309.18°)
OKLaboklab(47.68% 0.0789 -0.1525)
OKLCHoklch(47.68% 0.172 297.4)
XYZxyz(15.4024, 9.6043, 41.5915)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EAF #83AF3E
analogous
#3E4BAF #6A3EAF #A33EAF
triadic
#6A3EAF #AF6A3E #3EAF6A
tetradic
#6A3EAF #AF3E4B #83AF3E #3EAFA3
square
#6A3EAF #AF3E4B #83AF3E #3EAFA3
split-complementary
#6A3EAF #AFA33E #4BAF3E
monochromatic
#331E55 #4F2E82 #6A3EAF #8A63C8 #AC90D8

Accessibility & contrast

On white

7.19
#6A3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6A3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3EAF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EAF#FFFFFF#000000##FFFFFF
##6A3EAF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#595871
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3eaf;
/* rgb */ color: rgb(106, 62, 175);
/* oklch */ color: oklch(47.7% 0.172 297.4);
Tailwind
colors: {
  custom: {
    50: '#9a76c8',
    500: '#6a3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6a3eaf;
$custom-light: #9a76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3eaf",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 263.363,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.17172,
    "h": 297.4
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#6A3EAF
secondary
#ABC386
accent
#D751A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6A3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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