#3011B4#3011B4

#3011B4 is a dark, highly saturated violet. Relative luminance 0.043; OKLCH L 37.8% C 0.224 H 275.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3011B4
RGBrgb(48, 17, 180)
HSLhsl(251, 83%, 39%)
HSVhsv(251, 91%, 71%)
CMYKcmyk(73.3%, 90.6%, 0%, 29.4%)
CIE-LABlab(24.71, 57.81, -77.10)
CIE-LCHlch(24.71, 96.36, 306.86°)
OKLaboklab(37.76% 0.0218 -0.2227)
OKLCHoklch(37.76% 0.224 275.6)
XYZxyz(9.6549, 4.3236, 43.4969)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3011B4 #95B411
analogous
#1143B4 #3011B4 #8111B4
triadic
#3011B4 #B43011 #11B430
tetradic
#3011B4 #B41143 #95B411 #11B481
square
#3011B4 #B41143 #95B411 #11B481
split-complementary
#3011B4 #B48111 #43B411
monochromatic
#120644 #210C7C #3011B4 #4119E9 #6F51EF

Accessibility & contrast

On white

11.26
#3011B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3011B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3011B4
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3011B4#FFFFFF#000000##FFFFFF
##3011B41.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B8
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3011b4;
/* rgb */ color: rgb(48, 17, 180);
/* oklch */ color: oklch(37.8% 0.224 275.6);
Tailwind
colors: {
  custom: {
    50: '#7f5acc',
    500: '#3011b4',
    950: '#000000',
  },
}
SCSS
$custom: #3011b4;
$custom-light: #7f5acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3011b4",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 180
  },
  "hsl": {
    "h": 251.411,
    "s": 82.741,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37759,
    "c": 0.22373,
    "h": 275.6
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#3011B4
secondary
#B8D050
accent
#F92FD3
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #3011B4

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

Preview Lab → · Contrast checker → · Palette generator →

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