#6034AA#6034AA

#6034AA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.178 H 295.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#6034AA
RGBrgb(96, 52, 170)
HSLhsl(262, 53%, 44%)
HSVhsv(262, 69%, 67%)
CMYKcmyk(43.5%, 69.4%, 0%, 33.3%)
CIE-LABlab(33.66, 45.58, -56.22)
CIE-LCHlch(33.66, 72.37, 309.03°)
OKLaboklab(44.81% 0.0762 -0.1607)
OKLCHoklch(44.81% 0.178 295.4)
XYZxyz(13.3056, 7.8447, 38.8356)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034AA #7EAA34
analogous
#3443AA #6034AA #9B34AA
triadic
#6034AA #AA6034 #34AA60
tetradic
#6034AA #AA3443 #7EAA34 #34AA9B
square
#6034AA #AA3443 #7EAA34 #34AA9B
split-complementary
#6034AA #AA9B34 #43AA34
monochromatic
#2B174C #46267B #6034AA #7E51CA #A180D8

Accessibility & contrast

On white

8.17
#6034AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6034AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6034AA#FFFFFF#000000##FFFFFF
##6034AA1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6034aa;
/* rgb */ color: rgb(96, 52, 170);
/* oklch */ color: oklch(44.8% 0.178 295.4);
Tailwind
colors: {
  custom: {
    50: '#936fc4',
    500: '#6034aa',
    950: '#000000',
  },
}
SCSS
$custom: #6034aa;
$custom-light: #936fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6034aa",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 262.373,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.1779,
    "h": 295.4
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#6034AA
secondary
#A6C178
accent
#DD4BA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6034AA

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

Preview Lab → · Contrast checker → · Palette generator →

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