#6034C6#6034C6

#6034C6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.210 H 289.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6034C6
RGBrgb(96, 52, 198)
HSLhsl(258, 58%, 49%)
HSVhsv(258, 74%, 78%)
CMYKcmyk(51.5%, 73.7%, 0%, 22.4%)
CIE-LABlab(36.02, 53.23, -68.91)
CIE-LCHlch(36.02, 87.08, 307.69°)
OKLaboklab(47.22% 0.0704 -0.198)
OKLCHoklch(47.22% 0.21 289.6)
XYZxyz(16.2420, 9.0193, 54.3002)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034C6 #9AC634
analogous
#3451C6 #6034C6 #A934C6
triadic
#6034C6 #C66034 #34C660
tetradic
#6034C6 #C63451 #9AC634 #34C6A9
square
#6034C6 #C63451 #9AC634 #34C6A9
split-complementary
#6034C6 #C6A934 #51C634
monochromatic
#311B65 #482796 #6034C6 #8562D6 #AA92E2

Accessibility & contrast

On white

7.49
#6034C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6034C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034C6
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034C6#FFFFFF#000000##FFFFFF
##6034C61.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#3B5C7A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6034c6;
/* rgb */ color: rgb(96, 52, 198);
/* oklch */ color: oklch(47.2% 0.210 289.6);
Tailwind
colors: {
  custom: {
    50: '#9770d8',
    500: '#6034c6',
    950: '#000000',
  },
}
SCSS
$custom: #6034c6;
$custom-light: #9770d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6034c6",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 258.082,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.21016,
    "h": 289.6
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#6034C6
secondary
#B9CD89
accent
#E246B3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6034C6

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

Preview Lab → · Contrast checker → · Palette generator →

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