#6034AF#6034AF

#6034AF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.184 H 294.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6034AF
RGBrgb(96, 52, 175)
HSLhsl(261, 54%, 45%)
HSVhsv(261, 70%, 69%)
CMYKcmyk(45.1%, 70.3%, 0%, 31.4%)
CIE-LABlab(34.06, 46.94, -58.55)
CIE-LCHlch(34.06, 75.04, 308.72°)
OKLaboklab(45.23% 0.0753 -0.1676)
OKLCHoklch(45.23% 0.184 294.2)
XYZxyz(13.7876, 8.0375, 41.3741)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034AF #83AF34
analogous
#3446AF #6034AF #9D34AF
triadic
#6034AF #AF6034 #34AF60
tetradic
#6034AF #AF3446 #83AF34 #34AF9D
square
#6034AF #AF3446 #83AF34 #34AF9D
split-complementary
#6034AF #AF9D34 #46AF34
monochromatic
#2C1851 #462680 #6034AF #7F54CC #A283DA

Accessibility & contrast

On white

8.05
#6034AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6034AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034AF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034AF#FFFFFF#000000##FFFFFF
##6034AF1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#4A536E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6034af;
/* rgb */ color: rgb(96, 52, 175);
/* oklch */ color: oklch(45.2% 0.184 294.2);
Tailwind
colors: {
  custom: {
    50: '#946fc8',
    500: '#6034af',
    950: '#000000',
  },
}
SCSS
$custom: #6034af;
$custom-light: #946fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6034af",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 261.463,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.18375,
    "h": 294.2
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#6034AF
secondary
#AAC47B
accent
#DE4AA9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6034AF

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

Preview Lab → · Contrast checker → · Palette generator →

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