#6034CE#6034CE

#6034CE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.219 H 288.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6034CE
RGBrgb(96, 52, 206)
HSLhsl(257, 61%, 51%)
HSVhsv(257, 75%, 81%)
CMYKcmyk(53.4%, 74.8%, 0%, 19.2%)
CIE-LABlab(36.74, 55.43, -72.39)
CIE-LCHlch(36.74, 91.17, 307.44°)
OKLaboklab(47.95% 0.0685 -0.2082)
OKLCHoklch(47.95% 0.219 288.2)
XYZxyz(17.1892, 9.3982, 59.2888)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034CE #A2CE34
analogous
#3455CE #6034CE #AD34CE
triadic
#6034CE #CE6034 #34CE60
tetradic
#6034CE #CE3455 #A2CE34 #34CEAD
square
#6034CE #CE3455 #A2CE34 #34CEAD
split-complementary
#6034CE #CEAD34 #55CE34
monochromatic
#321A6D #49269F #6034CE #8765DA #AD97E6

Accessibility & contrast

On white

7.29
#6034CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6034CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034CE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034CE#FFFFFF#000000##FFFFFF
##6034CE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#345F7F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6034ce;
/* rgb */ color: rgb(96, 52, 206);
/* oklch */ color: oklch(47.9% 0.219 288.2);
Tailwind
colors: {
  custom: {
    50: '#9870de',
    500: '#6034ce',
    950: '#000000',
  },
}
SCSS
$custom: #6034ce;
$custom-light: #9870de;
$custom-dark: #000000;
JSON
{
  "hex": "#6034ce",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 206
  },
  "hsl": {
    "h": 257.143,
    "s": 61.111,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47945,
    "c": 0.21914,
    "h": 288.2
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#6034CE
secondary
#BED18D
accent
#E444B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6034CE

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

Preview Lab → · Contrast checker → · Palette generator →

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