#6034AD#6034AD

#6034AD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.181 H 294.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6034AD
RGBrgb(96, 52, 173)
HSLhsl(262, 54%, 44%)
HSVhsv(262, 70%, 68%)
CMYKcmyk(44.5%, 69.9%, 0%, 32.2%)
CIE-LABlab(33.90, 46.39, -57.62)
CIE-LCHlch(33.90, 73.98, 308.84°)
OKLaboklab(45.06% 0.0757 -0.1649)
OKLCHoklch(45.06% 0.181 294.7)
XYZxyz(13.5927, 7.9596, 40.3472)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034AD #81AD34
analogous
#3445AD #6034AD #9D34AD
triadic
#6034AD #AD6034 #34AD60
tetradic
#6034AD #AD3445 #81AD34 #34AD9D
square
#6034AD #AD3445 #81AD34 #34AD9D
split-complementary
#6034AD #AD9D34 #45AD34
monochromatic
#2C184F #46267E #6034AD #7F53CB #A282D9

Accessibility & contrast

On white

8.10
#6034AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6034AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034AD
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034AD#FFFFFF#000000##FFFFFF
##6034AD1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#4B526C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6034ad;
/* rgb */ color: rgb(96, 52, 173);
/* oklch */ color: oklch(45.1% 0.181 294.7);
Tailwind
colors: {
  custom: {
    50: '#946fc6',
    500: '#6034ad',
    950: '#000000',
  },
}
SCSS
$custom: #6034ad;
$custom-light: #946fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6034ad",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 261.818,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4506,
    "c": 0.18142,
    "h": 294.7
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#6034AD
secondary
#A8C37A
accent
#DD4BA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6034AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6034AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva