#6034B9#6034B9

#6034B9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.195 H 292.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6034B9
RGBrgb(96, 52, 185)
HSLhsl(260, 56%, 46%)
HSVhsv(260, 72%, 73%)
CMYKcmyk(48.1%, 71.9%, 0%, 27.5%)
CIE-LABlab(34.89, 49.67, -63.12)
CIE-LCHlch(34.89, 80.32, 308.20°)
OKLaboklab(46.08% 0.0734 -0.181)
OKLCHoklch(46.08% 0.195 292.1)
XYZxyz(14.8064, 8.4450, 46.7395)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034B9 #8DB934
analogous
#344AB9 #6034B9 #A334B9
triadic
#6034B9 #B96034 #34B960
tetradic
#6034B9 #B9344A #8DB934 #34B9A3
square
#6034B9 #B9344A #8DB934 #34B9A3
split-complementary
#6034B9 #B9A334 #4AB934
monochromatic
#2E1959 #472789 #6034B9 #815AD1 #A589DE

Accessibility & contrast

On white

7.81
#6034B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6034B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6034B9#FFFFFF#000000##FFFFFF
##6034B91.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#445773
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6034b9;
/* rgb */ color: rgb(96, 52, 185);
/* oklch */ color: oklch(46.1% 0.195 292.1);
Tailwind
colors: {
  custom: {
    50: '#956fcf',
    500: '#6034b9',
    950: '#000000',
  },
}
SCSS
$custom: #6034b9;
$custom-light: #956fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6034b9",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 259.85,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.19534,
    "h": 292.1
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#6034B9
secondary
#B0C881
accent
#DF48AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6034B9

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

Preview Lab → · Contrast checker → · Palette generator →

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