#6030A3#6030A3

#6030A3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.175 H 297.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6030A3
RGBrgb(96, 48, 163)
HSLhsl(265, 55%, 41%)
HSVhsv(265, 71%, 64%)
CMYKcmyk(41.1%, 70.6%, 0%, 36.1%)
CIE-LABlab(32.36, 45.76, -54.13)
CIE-LCHlch(32.36, 70.88, 310.21°)
OKLaboklab(43.71% 0.0815 -0.1546)
OKLCHoklch(43.71% 0.175 297.8)
XYZxyz(12.4900, 7.2448, 35.3836)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030A3 #73A330
analogous
#303AA3 #6030A3 #9A30A3
triadic
#6030A3 #A36030 #30A360
tetradic
#6030A3 #A3303A #73A330 #30A39A
square
#6030A3 #A3303A #73A330 #30A39A
split-complementary
#6030A3 #A39A30 #3AA330
monochromatic
#281444 #442274 #6030A3 #7D47C9 #9F77D7

Accessibility & contrast

On white

8.57
#6030A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6030A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6030A3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6030A3#FFFFFF#000000##FFFFFF
##6030A31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#4F4C66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6030a3;
/* rgb */ color: rgb(96, 48, 163);
/* oklch */ color: oklch(43.7% 0.175 297.8);
Tailwind
colors: {
  custom: {
    50: '#936cbf',
    500: '#6030a3',
    950: '#000000',
  },
}
SCSS
$custom: #6030a3;
$custom-light: #936cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6030a3",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 265.043,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.17476,
    "h": 297.8
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#6030A3
secondary
#9EBF70
accent
#DE4AA0
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6030A3

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

Preview Lab → · Contrast checker → · Palette generator →

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