#6034B6#6034B6

#6034B6 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.192 H 292.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6034B6
RGBrgb(96, 52, 182)
HSLhsl(260, 56%, 46%)
HSVhsv(260, 71%, 71%)
CMYKcmyk(47.3%, 71.4%, 0%, 28.6%)
CIE-LABlab(34.64, 48.85, -61.76)
CIE-LCHlch(34.64, 78.74, 308.34°)
OKLaboklab(45.82% 0.074 -0.177)
OKLCHoklch(45.82% 0.192 292.7)
XYZxyz(14.4930, 8.3197, 45.0891)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034B6 #8AB634
analogous
#3449B6 #6034B6 #A134B6
triadic
#6034B6 #B66034 #34B660
tetradic
#6034B6 #B63449 #8AB634 #34B6A1
square
#6034B6 #B63449 #8AB634 #34B6A1
split-complementary
#6034B6 #B6A134 #49B634
monochromatic
#2E1957 #472686 #6034B6 #8058CF #A488DD

Accessibility & contrast

On white

7.88
#6034B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6034B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6034B6#FFFFFF#000000##FFFFFF
##6034B61.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#465571
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6034b6;
/* rgb */ color: rgb(96, 52, 182);
/* oklch */ color: oklch(45.8% 0.192 292.7);
Tailwind
colors: {
  custom: {
    50: '#956fcd',
    500: '#6034b6',
    950: '#000000',
  },
}
SCSS
$custom: #6034b6;
$custom-light: #956fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6034b6",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 260.308,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45818,
    "c": 0.19187,
    "h": 292.7
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#6034B6
secondary
#AEC77F
accent
#DF49AC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6034B6

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

Preview Lab → · Contrast checker → · Palette generator →

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