#6A2DAF#6A2DAF

#6A2DAF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.193 H 300.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6A2DAF
RGBrgb(106, 45, 175)
HSLhsl(268, 59%, 43%)
HSVhsv(268, 74%, 69%)
CMYKcmyk(39.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(34.06, 52.12, -58.50)
CIE-LCHlch(34.06, 78.36, 311.70°)
OKLaboklab(45.49% 0.0966 -0.1671)
OKLCHoklch(45.49% 0.193 300)
XYZxyz(14.6182, 8.0359, 41.3301)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2DAF #72AF2D
analogous
#2D31AF #6A2DAF #AB2DAF
triadic
#6A2DAF #AF6A2D #2DAF6A
tetradic
#6A2DAF #AF2D31 #72AF2D #2DAFAB
square
#6A2DAF #AF2D31 #72AF2D #2DAFAB
split-complementary
#6A2DAF #AFAB2D #31AF2D
monochromatic
#2F144E #4D207E #6A2DAF #8849D0 #A87ADD

Accessibility & contrast

On white

8.05
#6A2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6A2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2DAF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2DAF#FFFFFF#000000##FFFFFF
##6A2DAF1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2daf;
/* rgb */ color: rgb(106, 45, 175);
/* oklch */ color: oklch(45.5% 0.193 300.0);
Tailwind
colors: {
  custom: {
    50: '#9b6cc8',
    500: '#6a2daf',
    950: '#000000',
  },
}
SCSS
$custom: #6a2daf;
$custom-light: #9b6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2daf",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 268.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.19298,
    "h": 300
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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