#4B268D#4B268D

#4B268D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.159 H 293.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4B268D
RGBrgb(75, 38, 141)
HSLhsl(262, 58%, 35%)
HSVhsv(262, 73%, 55%)
CMYKcmyk(46.8%, 73%, 0%, 44.7%)
CIE-LABlab(26.17, 40.95, -50.86)
CIE-LCHlch(26.17, 65.30, 308.84°)
OKLaboklab(38.17% 0.0646 -0.1457)
OKLCHoklch(38.17% 0.159 293.9)
XYZxyz(8.4012, 4.8049, 25.6789)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B268D #688D26
analogous
#26358D #4B268D #7E268D
triadic
#4B268D #8D4B26 #268D4B
tetradic
#4B268D #8D2635 #688D26 #268D7E
square
#4B268D #8D2635 #688D26 #268D7E
split-complementary
#4B268D #8D7E26 #358D26
monochromatic
#180C2D #31195D #4B268D #6533BD #865BD3

Accessibility & contrast

On white

10.71
#4B268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B268D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B268D#FFFFFF#000000##FFFFFF
##4B268D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#384057
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b268d;
/* rgb */ color: rgb(75, 38, 141);
/* oklch */ color: oklch(38.2% 0.159 293.9);
Tailwind
colors: {
  custom: {
    50: '#8464af',
    500: '#4b268d',
    950: '#000000',
  },
}
SCSS
$custom: #4b268d;
$custom-light: #8464af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b268d",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 261.553,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38171,
    "c": 0.15936,
    "h": 293.9
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#4B268D
secondary
#95B857
accent
#E147AA
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B268D

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

Preview Lab → · Contrast checker → · Palette generator →

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