#4B266F#4B266F

#4B266F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.123 H 304.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#4B266F
RGBrgb(75, 38, 111)
HSLhsl(270, 49%, 29%)
HSVhsv(270, 66%, 44%)
CMYKcmyk(32.4%, 65.8%, 0%, 56.5%)
CIE-LABlab(23.77, 32.66, -35.80)
CIE-LCHlch(23.77, 48.46, 312.38°)
OKLaboklab(35.69% 0.0689 -0.1014)
OKLCHoklch(35.69% 0.123 304.2)
XYZxyz(6.4634, 4.0298, 15.4732)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B266F #4A6F26
analogous
#27266F #4B266F #6F266F
triadic
#4B266F #6F4B26 #266F4B
tetradic
#4B266F #6F2726 #4A6F26 #266F6F
square
#4B266F #6F2726 #4A6F26 #266F6F
split-complementary
#4B266F #6F6F26 #266F27
monochromatic
#0F0817 #2C1641 #4B266F #6A369D #894DC2

Accessibility & contrast

On white

11.63
#4B266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4B266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B266F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B266F#FFFFFF#000000##FFFFFF
##4B266F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#13396D
Tritanopia (blue-blind)
#443546
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b266f;
/* rgb */ color: rgb(75, 38, 111);
/* oklch */ color: oklch(35.7% 0.123 304.2);
Tailwind
colors: {
  custom: {
    50: '#806399',
    500: '#4b266f',
    950: '#000000',
  },
}
SCSS
$custom: #4b266f;
$custom-light: #806399;
$custom-dark: #000000;
JSON
{
  "hex": "#4b266f",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 270.411,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35694,
    "c": 0.12259,
    "h": 304.2
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#4B266F
secondary
#78A24F
accent
#D94F93
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #4B266F

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

Preview Lab → · Contrast checker → · Palette generator →

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