#4B268F#4B268F

#4B268F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.162 H 293.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4B268F
RGBrgb(75, 38, 143)
HSLhsl(261, 58%, 35%)
HSVhsv(261, 73%, 56%)
CMYKcmyk(47.6%, 73.4%, 0%, 43.9%)
CIE-LABlab(26.35, 41.52, -51.81)
CIE-LCHlch(26.35, 66.39, 308.70°)
OKLaboklab(38.35% 0.0642 -0.1485)
OKLCHoklch(38.35% 0.162 293.4)
XYZxyz(8.5513, 4.8650, 26.4698)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B268F #6A8F26
analogous
#26358F #4B268F #7F268F
triadic
#4B268F #8F4B26 #268F4B
tetradic
#4B268F #8F2635 #6A8F26 #268F7F
square
#4B268F #8F2635 #6A8F26 #268F7F
split-complementary
#4B268F #8F7F26 #358F26
monochromatic
#180C2E #32195F #4B268F #6433BF #865CD4

Accessibility & contrast

On white

10.64
#4B268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B268F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B268F#FFFFFF#000000##FFFFFF
##4B268F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#374158
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b268f;
/* rgb */ color: rgb(75, 38, 143);
/* oklch */ color: oklch(38.3% 0.162 293.4);
Tailwind
colors: {
  custom: {
    50: '#8464b1',
    500: '#4b268f',
    950: '#000000',
  },
}
SCSS
$custom: #4b268f;
$custom-light: #8464b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b268f",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 261.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.16175,
    "h": 293.4
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#4B268F
secondary
#97B958
accent
#E147AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B268F

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

Preview Lab → · Contrast checker → · Palette generator →

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