#6034C2#6034C2

#6034C2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.206 H 290.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6034C2
RGBrgb(96, 52, 194)
HSLhsl(259, 58%, 48%)
HSVhsv(259, 73%, 76%)
CMYKcmyk(50.5%, 73.2%, 0%, 23.9%)
CIE-LABlab(35.67, 52.13, -67.15)
CIE-LCHlch(35.67, 85.01, 307.83°)
OKLaboklab(46.86% 0.0714 -0.1928)
OKLCHoklch(46.86% 0.206 290.3)
XYZxyz(15.7867, 8.8372, 51.9024)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034C2 #96C234
analogous
#344FC2 #6034C2 #A734C2
triadic
#6034C2 #C26034 #34C260
tetradic
#6034C2 #C2344F #96C234 #34C2A7
square
#6034C2 #C2344F #96C234 #34C2A7
split-complementary
#6034C2 #C2A734 #4FC234
monochromatic
#301A61 #482792 #6034C2 #835FD4 #A98FE1

Accessibility & contrast

On white

7.59
#6034C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6034C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034C2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034C2#FFFFFF#000000##FFFFFF
##6034C21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#3E5A78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6034c2;
/* rgb */ color: rgb(96, 52, 194);
/* oklch */ color: oklch(46.9% 0.206 290.3);
Tailwind
colors: {
  custom: {
    50: '#9770d6',
    500: '#6034c2',
    950: '#000000',
  },
}
SCSS
$custom: #6034c2;
$custom-light: #9770d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6034c2",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 258.592,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46863,
    "c": 0.20562,
    "h": 290.3
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#6034C2
secondary
#B6CC86
accent
#E147B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6034C2

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

Preview Lab → · Contrast checker → · Palette generator →

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