#4B269E#4B269E

#4B269E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.179 H 289.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4B269E
RGBrgb(75, 38, 158)
HSLhsl(259, 61%, 38%)
HSVhsv(259, 76%, 62%)
CMYKcmyk(52.5%, 75.9%, 0%, 38%)
CIE-LABlab(27.71, 45.77, -58.79)
CIE-LCHlch(27.71, 74.50, 307.90°)
OKLaboklab(39.73% 0.0605 -0.1689)
OKLCHoklch(39.73% 0.179 289.7)
XYZxyz(9.7645, 5.3503, 32.8593)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B269E #799E26
analogous
#263D9E #4B269E #87269E
triadic
#4B269E #9E4B26 #269E4B
tetradic
#4B269E #9E263D #799E26 #269E87
square
#4B269E #9E263D #799E26 #269E87
split-complementary
#4B269E #9E8726 #3D9E26
monochromatic
#1C0E3B #341A6D #4B269E #6333CE #8965DA

Accessibility & contrast

On white

10.14
#4B269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4B269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B269E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B269E#FFFFFF#000000##FFFFFF
##4B269E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#2D4760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b269e;
/* rgb */ color: rgb(75, 38, 158);
/* oklch */ color: oklch(39.7% 0.179 289.7);
Tailwind
colors: {
  custom: {
    50: '#8664bc',
    500: '#4b269e',
    950: '#000000',
  },
}
SCSS
$custom: #4b269e;
$custom-light: #8664bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b269e",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 258.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.17945,
    "h": 289.7
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#4B269E
secondary
#A2C060
accent
#E443B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B269E

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

Preview Lab → · Contrast checker → · Palette generator →

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