#6030BC#6030BC

#6030BC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.203 H 292.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6030BC
RGBrgb(96, 48, 188)
HSLhsl(261, 59%, 46%)
HSVhsv(261, 74%, 74%)
CMYKcmyk(48.9%, 74.5%, 0%, 26.3%)
CIE-LABlab(34.46, 52.44, -65.60)
CIE-LCHlch(34.46, 83.98, 308.63°)
OKLaboklab(45.85% 0.0762 -0.1883)
OKLCHoklch(45.85% 0.203 292)
XYZxyz(14.9554, 8.2310, 48.3680)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030BC #8CBC30
analogous
#3046BC #6030BC #A630BC
triadic
#6030BC #BC6030 #30BC60
tetradic
#6030BC #BC3046 #8CBC30 #30BCA6
square
#6030BC #BC3046 #8CBC30 #30BCA6
split-complementary
#6030BC #BCA630 #46BC30
monochromatic
#2E175A #47248B #6030BC #8155D4 #A586E0

Accessibility & contrast

On white

7.94
#6030BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6030BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6030BC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6030BC#FFFFFF#000000##FFFFFF
##6030BC1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#425674
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6030bc;
/* rgb */ color: rgb(96, 48, 188);
/* oklch */ color: oklch(45.8% 0.203 292.0);
Tailwind
colors: {
  custom: {
    50: '#966dd1',
    500: '#6030bc',
    950: '#000000',
  },
}
SCSS
$custom: #6030bc;
$custom-light: #966dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6030bc",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 260.571,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.2031,
    "h": 292
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6030BC

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

Preview Lab → · Contrast checker → · Palette generator →

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