#6030B6#6030B6

#6030B6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.196 H 293.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6030B6
RGBrgb(96, 48, 182)
HSLhsl(261, 58%, 45%)
HSVhsv(261, 74%, 71%)
CMYKcmyk(47.3%, 73.6%, 0%, 28.6%)
CIE-LABlab(33.94, 50.83, -62.91)
CIE-LCHlch(33.94, 80.88, 308.93°)
OKLaboklab(45.32% 0.0776 -0.1804)
OKLCHoklch(45.32% 0.196 293.3)
XYZxyz(14.3220, 7.9776, 45.0321)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030B6 #86B630
analogous
#3043B6 #6030B6 #A330B6
triadic
#6030B6 #B66030 #30B660
tetradic
#6030B6 #B63043 #86B630 #30B6A3
square
#6030B6 #B63043 #86B630 #30B6A3
split-complementary
#6030B6 #B6A330 #43B630
monochromatic
#2D1655 #462386 #6030B6 #8052D1 #A382DE

Accessibility & contrast

On white

8.09
#6030B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6030B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6030B6
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6030B6#FFFFFF#000000##FFFFFF
##6030B61.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#465370
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6030b6;
/* rgb */ color: rgb(96, 48, 182);
/* oklch */ color: oklch(45.3% 0.196 293.3);
Tailwind
colors: {
  custom: {
    50: '#956dcd',
    500: '#6030b6',
    950: '#000000',
  },
}
SCSS
$custom: #6030b6;
$custom-light: #956dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6030b6",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 261.493,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.19638,
    "h": 293.3
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#6030B6
secondary
#ACC77B
accent
#E146AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6030B6

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

Preview Lab → · Contrast checker → · Palette generator →

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