#6034BB#6034BB

#6034BB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.198 H 291.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6034BB
RGBrgb(96, 52, 187)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 73%)
CMYKcmyk(48.7%, 72.2%, 0%, 26.7%)
CIE-LABlab(35.06, 50.21, -64.03)
CIE-LCHlch(35.06, 81.37, 308.11°)
OKLaboklab(46.25% 0.073 -0.1837)
OKLCHoklch(46.25% 0.198 291.7)
XYZxyz(15.0190, 8.5301, 47.8592)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034BB #8FBB34
analogous
#344BBB #6034BB #A434BB
triadic
#6034BB #BB6034 #34BB60
tetradic
#6034BB #BB344B #8FBB34 #34BBA4
square
#6034BB #BB344B #8FBB34 #34BBA4
split-complementary
#6034BB #BBA434 #4BBB34
monochromatic
#2F195B #47278B #6034BB #815BD1 #A68BDF

Accessibility & contrast

On white

7.76
#6034BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6034BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6034BB#FFFFFF#000000##FFFFFF
##6034BB1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#435774
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6034bb;
/* rgb */ color: rgb(96, 52, 187);
/* oklch */ color: oklch(46.2% 0.198 291.7);
Tailwind
colors: {
  custom: {
    50: '#966fd0',
    500: '#6034bb',
    950: '#000000',
  },
}
SCSS
$custom: #6034bb;
$custom-light: #966fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6034bb",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 259.556,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46249,
    "c": 0.19763,
    "h": 291.7
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#6034BB
secondary
#B2C982
accent
#E048AE
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6034BB

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

Preview Lab → · Contrast checker → · Palette generator →

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