#6034A2#6034A2

#6034A2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.168 H 297.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6034A2
RGBrgb(96, 52, 162)
HSLhsl(264, 51%, 42%)
HSVhsv(264, 68%, 64%)
CMYKcmyk(40.7%, 67.9%, 0%, 36.5%)
CIE-LABlab(33.03, 43.42, -52.43)
CIE-LCHlch(33.03, 68.07, 309.63°)
OKLaboklab(44.17% 0.0774 -0.1496)
OKLCHoklch(44.17% 0.168 297.4)
XYZxyz(12.5718, 7.5512, 34.9706)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034A2 #76A234
analogous
#343FA2 #6034A2 #9734A2
triadic
#6034A2 #A26034 #34A260
tetradic
#6034A2 #A2343F #76A234 #34A297
square
#6034A2 #A2343F #76A234 #34A297
split-complementary
#6034A2 #A29734 #3FA234
monochromatic
#291645 #452574 #6034A2 #7E4DC6 #9F7CD5

Accessibility & contrast

On white

8.37
#6034A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6034A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034A2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034A2#FFFFFF#000000##FFFFFF
##6034A21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#504E66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6034a2;
/* rgb */ color: rgb(96, 52, 162);
/* oklch */ color: oklch(44.2% 0.168 297.4);
Tailwind
colors: {
  custom: {
    50: '#936fbe',
    500: '#6034a2',
    950: '#000000',
  },
}
SCSS
$custom: #6034a2;
$custom-light: #936fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6034a2",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 264,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44167,
    "c": 0.16846,
    "h": 297.4
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#6034A2
secondary
#A0BE74
accent
#DB4DA2
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6034A2

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

Preview Lab → · Contrast checker → · Palette generator →

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