#6034BC#6034BC

#6034BC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.199 H 291.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6034BC
RGBrgb(96, 52, 188)
HSLhsl(259, 57%, 47%)
HSVhsv(259, 72%, 74%)
CMYKcmyk(48.9%, 72.3%, 0%, 26.3%)
CIE-LABlab(35.15, 50.49, -64.47)
CIE-LCHlch(35.15, 81.89, 308.06°)
OKLaboklab(46.34% 0.0727 -0.185)
OKLCHoklch(46.34% 0.199 291.5)
XYZxyz(15.1264, 8.5731, 48.4250)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034BC #90BC34
analogous
#344CBC #6034BC #A434BC
triadic
#6034BC #BC6034 #34BC60
tetradic
#6034BC #BC344C #90BC34 #34BCA4
square
#6034BC #BC344C #90BC34 #34BCA4
split-complementary
#6034BC #BCA434 #4CBC34
monochromatic
#2F195C #48278C #6034BC #825BD2 #A68BDF

Accessibility & contrast

On white

7.74
#6034BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6034BC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034BC#FFFFFF#000000##FFFFFF
##6034BC1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#425875
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6034bc;
/* rgb */ color: rgb(96, 52, 188);
/* oklch */ color: oklch(46.3% 0.199 291.5);
Tailwind
colors: {
  custom: {
    50: '#966fd1',
    500: '#6034bc',
    950: '#000000',
  },
}
SCSS
$custom: #6034bc;
$custom-light: #966fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6034bc",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 259.412,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46336,
    "c": 0.19877,
    "h": 291.5
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#6034BC
secondary
#B2C983
accent
#E048AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6034BC

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

Preview Lab → · Contrast checker → · Palette generator →

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