#4B268B#4B268B

#4B268B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.157 H 294.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4B268B
RGBrgb(75, 38, 139)
HSLhsl(262, 57%, 35%)
HSVhsv(262, 73%, 55%)
CMYKcmyk(46%, 72.7%, 0%, 45.5%)
CIE-LABlab(26.00, 40.39, -49.90)
CIE-LCHlch(26.00, 64.19, 308.99°)
OKLaboklab(37.99% 0.065 -0.1429)
OKLCHoklch(37.99% 0.157 294.5)
XYZxyz(8.2537, 4.7459, 24.9023)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B268B #668B26
analogous
#26348B #4B268B #7D268B
triadic
#4B268B #8B4B26 #268B4B
tetradic
#4B268B #8B2634 #668B26 #268B7D
square
#4B268B #8B2634 #668B26 #268B7D
split-complementary
#4B268B #8B7D26 #348B26
monochromatic
#170C2B #31195B #4B268B #6533BB #865AD2

Accessibility & contrast

On white

10.77
#4B268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4B268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B268B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B268B#FFFFFF#000000##FFFFFF
##4B268B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#394056
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b268b;
/* rgb */ color: rgb(75, 38, 139);
/* oklch */ color: oklch(38.0% 0.157 294.5);
Tailwind
colors: {
  custom: {
    50: '#8464ae',
    500: '#4b268b',
    950: '#000000',
  },
}
SCSS
$custom: #4b268b;
$custom-light: #8464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b268b",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 261.98,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37994,
    "c": 0.15695,
    "h": 294.5
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#4B268B
secondary
#93B756
accent
#E047A8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B268B

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

Preview Lab → · Contrast checker → · Palette generator →

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