#6034CD#6034CD

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

Color values

HEX#6034CD
RGBrgb(96, 52, 205)
HSLhsl(257, 60%, 50%)
HSVhsv(257, 75%, 80%)
CMYKcmyk(53.2%, 74.6%, 0%, 19.6%)
CIE-LABlab(36.65, 55.15, -71.96)
CIE-LCHlch(36.65, 90.66, 307.47°)
OKLaboklab(47.85% 0.0687 -0.2069)
OKLCHoklch(47.85% 0.218 288.4)
XYZxyz(17.0681, 9.3497, 58.6511)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034CD #A1CD34
analogous
#3454CD #6034CD #AC34CD
triadic
#6034CD #CD6034 #34CD60
tetradic
#6034CD #CD3454 #A1CD34 #34CDAC
square
#6034CD #CD3454 #A1CD34 #34CDAC
split-complementary
#6034CD #CDAC34 #54CD34
monochromatic
#321B6C #49279D #6034CD #8665D9 #AD96E5

Accessibility & contrast

On white

7.32
#6034CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6034CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034CD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034CD#FFFFFF#000000##FFFFFF
##6034CD1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#355E7E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6034cd;
/* rgb */ color: rgb(96, 52, 205);
/* oklch */ color: oklch(47.9% 0.218 288.4);
Tailwind
colors: {
  custom: {
    50: '#9870dd',
    500: '#6034cd',
    950: '#000000',
  },
}
SCSS
$custom: #6034cd;
$custom-light: #9870dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6034cd",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 257.255,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47853,
    "c": 0.21803,
    "h": 288.4
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6034CD

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

Preview Lab → · Contrast checker → · Palette generator →

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