#6030B4#6030B4

#6030B4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.194 H 293.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6030B4
RGBrgb(96, 48, 180)
HSLhsl(262, 58%, 45%)
HSVhsv(262, 73%, 71%)
CMYKcmyk(46.7%, 73.3%, 0%, 29.4%)
CIE-LABlab(33.76, 50.29, -62.01)
CIE-LCHlch(33.76, 79.84, 309.04°)
OKLaboklab(45.15% 0.0781 -0.1777)
OKLCHoklch(45.15% 0.194 293.7)
XYZxyz(14.1168, 7.8956, 43.9514)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030B4 #84B430
analogous
#3042B4 #6030B4 #A230B4
triadic
#6030B4 #B46030 #30B460
tetradic
#6030B4 #B43042 #84B430 #30B4A2
square
#6030B4 #B43042 #84B430 #30B4A2
split-complementary
#6030B4 #B4A230 #42B430
monochromatic
#2C1653 #462384 #6030B4 #7F51D1 #A381DD

Accessibility & contrast

On white

8.14
#6030B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6030B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6030B4#FFFFFF#000000##FFFFFF
##6030B41.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#47536F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6030b4;
/* rgb */ color: rgb(96, 48, 180);
/* oklch */ color: oklch(45.1% 0.194 293.7);
Tailwind
colors: {
  custom: {
    50: '#956dcb',
    500: '#6030b4',
    950: '#000000',
  },
}
SCSS
$custom: #6030b4;
$custom-light: #956dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6030b4",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 261.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.19412,
    "h": 293.7
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#6030B4
secondary
#AAC679
accent
#E147A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6030B4

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

Preview Lab → · Contrast checker → · Palette generator →

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