#6034C5#6034C5

#6034C5 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.209 H 289.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6034C5
RGBrgb(96, 52, 197)
HSLhsl(258, 58%, 49%)
HSVhsv(258, 74%, 77%)
CMYKcmyk(51.3%, 73.6%, 0%, 22.7%)
CIE-LABlab(35.93, 52.96, -68.47)
CIE-LCHlch(35.93, 86.56, 307.72°)
OKLaboklab(47.13% 0.0707 -0.1967)
OKLCHoklch(47.13% 0.209 289.8)
XYZxyz(16.1270, 8.9733, 53.6948)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034C5 #99C534
analogous
#3451C5 #6034C5 #A934C5
triadic
#6034C5 #C56034 #34C560
tetradic
#6034C5 #C53451 #99C534 #34C5A9
square
#6034C5 #C53451 #99C534 #34C5A9
split-complementary
#6034C5 #C5A934 #51C534
monochromatic
#311A64 #482795 #6034C5 #8461D5 #AA91E2

Accessibility & contrast

On white

7.51
#6034C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6034C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034C5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034C5#FFFFFF#000000##FFFFFF
##6034C51.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#3B5B7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6034c5;
/* rgb */ color: rgb(96, 52, 197);
/* oklch */ color: oklch(47.1% 0.209 289.8);
Tailwind
colors: {
  custom: {
    50: '#9770d8',
    500: '#6034c5',
    950: '#000000',
  },
}
SCSS
$custom: #6034c5;
$custom-light: #9770d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6034c5",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 258.207,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.20902,
    "h": 289.8
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#6034C5
secondary
#B8CD88
accent
#E146B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6034C5

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

Preview Lab → · Contrast checker → · Palette generator →

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