#6034B4#6034B4

#6034B4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.190 H 293.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6034B4
RGBrgb(96, 52, 180)
HSLhsl(261, 55%, 45%)
HSVhsv(261, 71%, 71%)
CMYKcmyk(46.7%, 71.1%, 0%, 29.4%)
CIE-LABlab(34.47, 48.30, -60.85)
CIE-LCHlch(34.47, 77.69, 308.44°)
OKLaboklab(45.65% 0.0744 -0.1743)
OKLCHoklch(45.65% 0.19 293.1)
XYZxyz(14.2878, 8.2376, 44.0084)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034B4 #88B434
analogous
#3448B4 #6034B4 #A034B4
triadic
#6034B4 #B46034 #34B460
tetradic
#6034B4 #B43448 #88B434 #34B4A0
square
#6034B4 #B43448 #88B434 #34B4A0
split-complementary
#6034B4 #B4A034 #48B434
monochromatic
#2D1955 #472685 #6034B4 #8057CE #A486DC

Accessibility & contrast

On white

7.93
#6034B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6034B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6034B4#FFFFFF#000000##FFFFFF
##6034B41.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#475570
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6034b4;
/* rgb */ color: rgb(96, 52, 180);
/* oklch */ color: oklch(45.6% 0.190 293.1);
Tailwind
colors: {
  custom: {
    50: '#956fcb',
    500: '#6034b4',
    950: '#000000',
  },
}
SCSS
$custom: #6034b4;
$custom-light: #956fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6034b4",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 260.625,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.18956,
    "h": 293.1
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#6034B4
secondary
#ADC67E
accent
#DF49AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6034B4

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

Preview Lab → · Contrast checker → · Palette generator →

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