#6034AC#6034AC

#6034AC is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.180 H 294.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6034AC
RGBrgb(96, 52, 172)
HSLhsl(262, 54%, 44%)
HSVhsv(262, 70%, 67%)
CMYKcmyk(44.2%, 69.8%, 0%, 32.5%)
CIE-LABlab(33.82, 46.12, -57.16)
CIE-LCHlch(33.82, 73.44, 308.90°)
OKLaboklab(44.98% 0.0759 -0.1635)
OKLCHoklch(44.98% 0.18 294.9)
XYZxyz(13.4963, 7.9210, 39.8395)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034AC #80AC34
analogous
#3444AC #6034AC #9C34AC
triadic
#6034AC #AC6034 #34AC60
tetradic
#6034AC #AC3444 #80AC34 #34AC9C
square
#6034AC #AC3444 #80AC34 #34AC9C
split-complementary
#6034AC #AC9C34 #44AC34
monochromatic
#2C184E #46267D #6034AC #7F52CB #A281D9

Accessibility & contrast

On white

8.13
#6034AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6034AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034AC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034AC#FFFFFF#000000##FFFFFF
##6034AC1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6034ac;
/* rgb */ color: rgb(96, 52, 172);
/* oklch */ color: oklch(45.0% 0.180 294.9);
Tailwind
colors: {
  custom: {
    50: '#946fc6',
    500: '#6034ac',
    950: '#000000',
  },
}
SCSS
$custom: #6034ac;
$custom-light: #946fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6034ac",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 262,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.18025,
    "h": 294.9
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#6034AC
secondary
#A8C279
accent
#DD4BA7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6034AC

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

Preview Lab → · Contrast checker → · Palette generator →

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