#6030B2#6030B2

#6030B2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.192 H 294.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6030B2
RGBrgb(96, 48, 178)
HSLhsl(262, 58%, 44%)
HSVhsv(262, 73%, 70%)
CMYKcmyk(46.1%, 73%, 0%, 30.2%)
CIE-LABlab(33.59, 49.75, -61.10)
CIE-LCHlch(33.59, 78.79, 309.16°)
OKLaboklab(44.97% 0.0785 -0.1751)
OKLCHoklch(44.97% 0.192 294.2)
XYZxyz(13.9145, 7.8147, 42.8861)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030B2 #82B230
analogous
#3041B2 #6030B2 #A130B2
triadic
#6030B2 #B26030 #30B260
tetradic
#6030B2 #B23041 #82B230 #30B2A1
square
#6030B2 #B23041 #82B230 #30B2A1
split-complementary
#6030B2 #B2A130 #41B230
monochromatic
#2C1652 #462382 #6030B2 #7F50D0 #A280DD

Accessibility & contrast

On white

8.19
#6030B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6030B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6030B2#FFFFFF#000000##FFFFFF
##6030B21.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#48526E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6030b2;
/* rgb */ color: rgb(96, 48, 178);
/* oklch */ color: oklch(45.0% 0.192 294.2);
Tailwind
colors: {
  custom: {
    50: '#956dca',
    500: '#6030b2',
    950: '#000000',
  },
}
SCSS
$custom: #6030b2;
$custom-light: #956dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6030b2",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 262.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.19186,
    "h": 294.2
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#6030B2
secondary
#A9C678
accent
#E147A8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6030B2

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

Preview Lab → · Contrast checker → · Palette generator →

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