#6030AF#6030AF

#6030AF is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.188 H 294.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6030AF
RGBrgb(96, 48, 175)
HSLhsl(263, 57%, 44%)
HSVhsv(263, 73%, 69%)
CMYKcmyk(45.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(33.34, 48.95, -59.73)
CIE-LCHlch(33.34, 77.22, 309.34°)
OKLaboklab(44.71% 0.0792 -0.171)
OKLCHoklch(44.71% 0.188 294.8)
XYZxyz(13.6166, 7.6955, 41.3171)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030AF #7FAF30
analogous
#303FAF #6030AF #9F30AF
triadic
#6030AF #AF6030 #30AF60
tetradic
#6030AF #AF303F #7FAF30 #30AF9F
square
#6030AF #AF303F #7FAF30 #30AF9F
split-complementary
#6030AF #AF9F30 #3FAF30
monochromatic
#2B164F #46237F #6030AF #7E4ECE #A17EDC

Accessibility & contrast

On white

8.27
#6030AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6030AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6030AF#FFFFFF#000000##FFFFFF
##6030AF1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#4A516C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6030af;
/* rgb */ color: rgb(96, 48, 175);
/* oklch */ color: oklch(44.7% 0.188 294.8);
Tailwind
colors: {
  custom: {
    50: '#946dc8',
    500: '#6030af',
    950: '#000000',
  },
}
SCSS
$custom: #6030af;
$custom-light: #946dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6030af",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 262.677,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44714,
    "c": 0.18847,
    "h": 294.8
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#6030AF
secondary
#A7C476
accent
#E048A7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6030AF

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

Preview Lab → · Contrast checker → · Palette generator →

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