#4B106E#4B106E

#4B106E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.150 H 308.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#4B106E
RGBrgb(75, 16, 110)
HSLhsl(278, 75%, 25%)
HSVhsv(278, 85%, 43%)
CMYKcmyk(31.8%, 85.5%, 0%, 56.9%)
CIE-LABlab(20.01, 42.75, -41.24)
CIE-LCHlch(20.01, 59.40, 316.03°)
OKLaboklab(33% 0.0928 -0.1173)
OKLCHoklch(33% 0.15 308.3)
XYZxyz(5.9008, 2.9923, 15.0155)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B106E #336E10
analogous
#1C106E #4B106E #6E1062
triadic
#4B106E #6E4B10 #106E4B
tetradic
#4B106E #6E1C10 #336E10 #10626E
square
#4B106E #6E1C10 #336E10 #10626E
split-complementary
#4B106E #626E10 #106E1C
monochromatic
#12041B #270839 #4B106E #6F18A3 #9420D9

Accessibility & contrast

On white

13.14
#4B106E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4B106E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B106E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B106E#FFFFFF#000000##FFFFFF
##4B106E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#452940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b106e;
/* rgb */ color: rgb(75, 16, 110);
/* oklch */ color: oklch(33.0% 0.150 308.3);
Tailwind
colors: {
  custom: {
    50: '#825798',
    500: '#4b106e',
    950: '#000000',
  },
}
SCSS
$custom: #4b106e;
$custom-light: #825798;
$custom-dark: #000000;
JSON
{
  "hex": "#4b106e",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 110
  },
  "hsl": {
    "h": 277.66,
    "s": 74.603,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32998,
    "c": 0.14951,
    "h": 308.3
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#4B106E
secondary
#5EA634
accent
#F1377C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4B106E

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

Preview Lab → · Contrast checker → · Palette generator →

#4B106E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva