#6034CF#6034CF

#6034CF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.220 H 288.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6034CF
RGBrgb(96, 52, 207)
HSLhsl(257, 62%, 51%)
HSVhsv(257, 75%, 81%)
CMYKcmyk(53.6%, 74.9%, 0%, 18.8%)
CIE-LABlab(36.83, 55.70, -72.82)
CIE-LCHlch(36.83, 91.68, 307.41°)
OKLaboklab(48.04% 0.0682 -0.2094)
OKLCHoklch(48.04% 0.22 288)
XYZxyz(17.3110, 9.4469, 59.9307)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034CF #A3CF34
analogous
#3455CF #6034CF #AD34CF
triadic
#6034CF #CF6034 #34CF60
tetradic
#6034CF #CF3455 #A3CF34 #34CFAD
square
#6034CF #CF3455 #A3CF34 #34CFAD
split-complementary
#6034CF #CFAD34 #55CF34
monochromatic
#321A6E #4826A0 #6034CF #8765DB #AE97E6

Accessibility & contrast

On white

7.27
#6034CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6034CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034CF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034CF#FFFFFF#000000##FFFFFF
##6034CF1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#335F7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6034cf;
/* rgb */ color: rgb(96, 52, 207);
/* oklch */ color: oklch(48.0% 0.220 288.0);
Tailwind
colors: {
  custom: {
    50: '#9870df',
    500: '#6034cf',
    950: '#000000',
  },
}
SCSS
$custom: #6034cf;
$custom-light: #9870df;
$custom-dark: #000000;
JSON
{
  "hex": "#6034cf",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 257.032,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.22026,
    "h": 288
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#6034CF
secondary
#BED28D
accent
#E543B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6034CF

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

Preview Lab → · Contrast checker → · Palette generator →

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