#6030BD#6030BD

#6030BD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.204 H 291.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6030BD
RGBrgb(96, 48, 189)
HSLhsl(260, 59%, 46%)
HSVhsv(260, 75%, 74%)
CMYKcmyk(49.2%, 74.6%, 0%, 25.9%)
CIE-LABlab(34.55, 52.70, -66.05)
CIE-LCHlch(34.55, 84.50, 308.59°)
OKLaboklab(45.94% 0.0759 -0.1896)
OKLCHoklch(45.94% 0.204 291.8)
XYZxyz(15.0635, 8.2743, 48.9376)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030BD #8DBD30
analogous
#3046BD #6030BD #A730BD
triadic
#6030BD #BD6030 #30BD60
tetradic
#6030BD #BD3046 #8DBD30 #30BDA7
square
#6030BD #BD3046 #8DBD30 #30BDA7
split-complementary
#6030BD #BDA730 #46BD30
monochromatic
#2E175B #47248C #6030BD #8156D4 #A587E0

Accessibility & contrast

On white

7.91
#6030BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6030BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6030BD
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6030BD#FFFFFF#000000##FFFFFF
##6030BD1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#415674
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6030bd;
/* rgb */ color: rgb(96, 48, 189);
/* oklch */ color: oklch(45.9% 0.204 291.8);
Tailwind
colors: {
  custom: {
    50: '#966dd2',
    500: '#6030bd',
    950: '#000000',
  },
}
SCSS
$custom: #6030bd;
$custom-light: #966dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6030bd",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 260.426,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.20421,
    "h": 291.8
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#6030BD
secondary
#B0CA7F
accent
#E345AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #6030BD

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

Preview Lab → · Contrast checker → · Palette generator →

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