#6034BD#6034BD

#6034BD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.200 H 291.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6034BD
RGBrgb(96, 52, 189)
HSLhsl(259, 57%, 47%)
HSVhsv(259, 72%, 74%)
CMYKcmyk(49.2%, 72.5%, 0%, 25.9%)
CIE-LABlab(35.23, 50.76, -64.92)
CIE-LCHlch(35.23, 82.41, 308.02°)
OKLaboklab(46.42% 0.0725 -0.1863)
OKLCHoklch(46.42% 0.2 291.3)
XYZxyz(15.2346, 8.6163, 48.9947)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6034BD #91BD34
analogous
#344DBD #6034BD #A434BD
triadic
#6034BD #BD6034 #34BD60
tetradic
#6034BD #BD344D #91BD34 #34BDA4
square
#6034BD #BD344D #91BD34 #34BDA4
split-complementary
#6034BD #BDA434 #4DBD34
monochromatic
#2F1A5D #48278D #6034BD #825CD2 #A78CDF

Accessibility & contrast

On white

7.71
#6034BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6034BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6034BD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6034BD#FFFFFF#000000##FFFFFF
##6034BD1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#415875
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6034bd;
/* rgb */ color: rgb(96, 52, 189);
/* oklch */ color: oklch(46.4% 0.200 291.3);
Tailwind
colors: {
  custom: {
    50: '#9670d2',
    500: '#6034bd',
    950: '#000000',
  },
}
SCSS
$custom: #6034bd;
$custom-light: #9670d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6034bd",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 259.27,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.19993,
    "h": 291.3
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#6034BD
secondary
#B3CA83
accent
#E048AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6034BD

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

Preview Lab → · Contrast checker → · Palette generator →

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