#6034B3#6034B3

#6034B3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.188 H 293.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6034B3
RGBrgb(96, 52, 179)
HSLhsl(261, 55%, 45%)
HSVhsv(261, 71%, 70%)
CMYKcmyk(46.4%, 70.9%, 0%, 29.8%)
CIE-LABlab(34.39, 48.03, -60.39)
CIE-LCHlch(34.39, 77.16, 308.49°)
OKLaboklab(45.56% 0.0746 -0.173)
OKLCHoklch(45.56% 0.188 293.3)
XYZxyz(14.1863, 8.1970, 43.4738)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034B3 #87B334
analogous
#3448B3 #6034B3 #9F34B3
triadic
#6034B3 #B36034 #34B360
tetradic
#6034B3 #B33448 #87B334 #34B39F
square
#6034B3 #B33448 #87B334 #34B39F
split-complementary
#6034B3 #B39F34 #48B334
monochromatic
#2D1854 #472684 #6034B3 #8056CE #A386DC

Accessibility & contrast

On white

7.96
#6034B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6034B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034B3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034B3#FFFFFF#000000##FFFFFF
##6034B31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#475470
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6034b3;
/* rgb */ color: rgb(96, 52, 179);
/* oklch */ color: oklch(45.6% 0.188 293.3);
Tailwind
colors: {
  custom: {
    50: '#956fcb',
    500: '#6034b3',
    950: '#000000',
  },
}
SCSS
$custom: #6034b3;
$custom-light: #956fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6034b3",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 260.787,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45562,
    "c": 0.1884,
    "h": 293.3
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#6034B3
secondary
#ACC57D
accent
#DE49AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6034B3

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

Preview Lab → · Contrast checker → · Palette generator →

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