#6A2EAF#6A2EAF

#6A2EAF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.192 H 299.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6A2EAF
RGBrgb(106, 46, 175)
HSLhsl(268, 58%, 43%)
HSVhsv(268, 74%, 69%)
CMYKcmyk(39.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(34.22, 51.67, -58.24)
CIE-LCHlch(34.22, 77.86, 311.58°)
OKLaboklab(45.61% 0.0957 -0.1663)
OKLCHoklch(45.61% 0.192 299.9)
XYZxyz(14.6568, 8.1132, 41.3429)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EAF #73AF2E
analogous
#2E32AF #6A2EAF #AA2EAF
triadic
#6A2EAF #AF6A2E #2EAF6A
tetradic
#6A2EAF #AF2E32 #73AF2E #2EAFAA
square
#6A2EAF #AF2E32 #73AF2E #2EAFAA
split-complementary
#6A2EAF #AFAA2E #32AF2E
monochromatic
#2F154E #4D217F #6A2EAF #884BD0 #A87BDC

Accessibility & contrast

On white

8.01
#6A2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6A2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EAF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EAF#FFFFFF#000000##FFFFFF
##6A2EAF1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5A4F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2eaf;
/* rgb */ color: rgb(106, 46, 175);
/* oklch */ color: oklch(45.6% 0.192 299.9);
Tailwind
colors: {
  custom: {
    50: '#9b6cc8',
    500: '#6a2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6a2eaf;
$custom-light: #9b6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2eaf",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 267.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.19186,
    "h": 299.9
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#6A2EAF
secondary
#9FC574
accent
#E24699
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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