#6034B5#6034B5

#6034B5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.191 H 292.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6034B5
RGBrgb(96, 52, 181)
HSLhsl(260, 55%, 46%)
HSVhsv(260, 71%, 71%)
CMYKcmyk(47%, 71.3%, 0%, 29%)
CIE-LABlab(34.56, 48.57, -61.31)
CIE-LCHlch(34.56, 78.22, 308.39°)
OKLaboklab(45.73% 0.0742 -0.1757)
OKLCHoklch(45.73% 0.191 292.9)
XYZxyz(14.3900, 8.2785, 44.5468)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034B5 #89B534
analogous
#3448B5 #6034B5 #A034B5
triadic
#6034B5 #B56034 #34B560
tetradic
#6034B5 #B53448 #89B534 #34B5A0
square
#6034B5 #B53448 #89B534 #34B5A0
split-complementary
#6034B5 #B5A034 #48B534
monochromatic
#2E1956 #472685 #6034B5 #8057CF #A487DC

Accessibility & contrast

On white

7.91
#6034B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6034B5#FFFFFF#000000##FFFFFF
##6034B51.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6034b5;
/* rgb */ color: rgb(96, 52, 181);
/* oklch */ color: oklch(45.7% 0.191 292.9);
Tailwind
colors: {
  custom: {
    50: '#956fcc',
    500: '#6034b5',
    950: '#000000',
  },
}
SCSS
$custom: #6034b5;
$custom-light: #956fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6034b5",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 260.465,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.19072,
    "h": 292.9
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#6034B5
secondary
#AEC67F
accent
#DF49AC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6034B5

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

Preview Lab → · Contrast checker → · Palette generator →

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