#6030AA#6030AA

#6030AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.183 H 296.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6030AA
RGBrgb(96, 48, 170)
HSLhsl(264, 56%, 43%)
HSVhsv(264, 72%, 67%)
CMYKcmyk(43.5%, 71.8%, 0%, 33.3%)
CIE-LABlab(32.92, 47.62, -57.41)
CIE-LCHlch(32.92, 74.59, 309.67°)
OKLaboklab(44.29% 0.0802 -0.1642)
OKLCHoklch(44.29% 0.183 296)
XYZxyz(13.1346, 7.5027, 38.7786)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030AA #7AAA30
analogous
#303DAA #6030AA #9D30AA
triadic
#6030AA #AA6030 #30AA60
tetradic
#6030AA #AA303D #7AAA30 #30AA9D
square
#6030AA #AA303D #7AAA30 #30AA9D
split-complementary
#6030AA #AA9D30 #3DAA30
monochromatic
#2A154B #45237A #6030AA #7E4BCC #A07BDA

Accessibility & contrast

On white

8.40
#6030AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6030AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6030AA#FFFFFF#000000##FFFFFF
##6030AA1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#4C4F6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6030aa;
/* rgb */ color: rgb(96, 48, 170);
/* oklch */ color: oklch(44.3% 0.183 296.0);
Tailwind
colors: {
  custom: {
    50: '#946cc4',
    500: '#6030aa',
    950: '#000000',
  },
}
SCSS
$custom: #6030aa;
$custom-light: #946cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6030aa",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 263.607,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.18278,
    "h": 296
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#6030AA
secondary
#A3C274
accent
#DF49A4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6030AA

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

Preview Lab → · Contrast checker → · Palette generator →

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