#6034AB#6034AB

#6034AB is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.179 H 295.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6034AB
RGBrgb(96, 52, 171)
HSLhsl(262, 53%, 44%)
HSVhsv(262, 70%, 67%)
CMYKcmyk(43.9%, 69.6%, 0%, 32.9%)
CIE-LABlab(33.74, 45.85, -56.69)
CIE-LCHlch(33.74, 72.91, 308.97°)
OKLaboklab(44.89% 0.0761 -0.1621)
OKLCHoklch(44.89% 0.179 295.1)
XYZxyz(13.4006, 7.8827, 39.3357)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034AB #7FAB34
analogous
#3443AB #6034AB #9B34AB
triadic
#6034AB #AB6034 #34AB60
tetradic
#6034AB #AB3443 #7FAB34 #34AB9B
square
#6034AB #AB3443 #7FAB34 #34AB9B
split-complementary
#6034AB #AB9B34 #43AB34
monochromatic
#2B174D #46267C #6034AB #7E52CA #A181D9

Accessibility & contrast

On white

8.15
#6034AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6034AB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034AB#FFFFFF#000000##FFFFFF
##6034AB1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#4C516B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6034ab;
/* rgb */ color: rgb(96, 52, 171);
/* oklch */ color: oklch(44.9% 0.179 295.1);
Tailwind
colors: {
  custom: {
    50: '#946fc5',
    500: '#6034ab',
    950: '#000000',
  },
}
SCSS
$custom: #6034ab;
$custom-light: #946fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6034ab",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 262.185,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.17907,
    "h": 295.1
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6034AB

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

Preview Lab → · Contrast checker → · Palette generator →

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