#6030B5#6030B5

#6030B5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.195 H 293.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6030B5
RGBrgb(96, 48, 181)
HSLhsl(262, 58%, 45%)
HSVhsv(262, 73%, 71%)
CMYKcmyk(47%, 73.5%, 0%, 29%)
CIE-LABlab(33.85, 50.56, -62.46)
CIE-LCHlch(33.85, 80.36, 308.99°)
OKLaboklab(45.23% 0.0778 -0.1791)
OKLCHoklch(45.23% 0.195 293.5)
XYZxyz(14.2190, 7.9365, 44.4898)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6030B5 #85B530
analogous
#3043B5 #6030B5 #A330B5
triadic
#6030B5 #B56030 #30B560
tetradic
#6030B5 #B53043 #85B530 #30B5A3
square
#6030B5 #B53043 #85B530 #30B5A3
split-complementary
#6030B5 #B5A330 #43B530
monochromatic
#2D1654 #462385 #6030B5 #7F51D1 #A382DE

Accessibility & contrast

On white

8.12
#6030B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6030B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6030B5#FFFFFF#000000##FFFFFF
##6030B51.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#465370
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6030b5;
/* rgb */ color: rgb(96, 48, 181);
/* oklch */ color: oklch(45.2% 0.195 293.5);
Tailwind
colors: {
  custom: {
    50: '#956dcc',
    500: '#6030b5',
    950: '#000000',
  },
}
SCSS
$custom: #6030b5;
$custom-light: #956dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6030b5",
  "rgb": {
    "r": 96,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 261.654,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.19525,
    "h": 293.5
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#6030B5
secondary
#ABC77A
accent
#E146A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6030B5

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

Preview Lab → · Contrast checker → · Palette generator →

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