#4B2265#4B2265

#4B2265 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.4% C 0.117 H 309.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#4B2265
RGBrgb(75, 34, 101)
HSLhsl(277, 50%, 26%)
HSVhsv(277, 66%, 40%)
CMYKcmyk(25.7%, 66.3%, 0%, 60.4%)
CIE-LABlab(22.23, 32.32, -31.79)
CIE-LCHlch(22.23, 45.33, 315.47°)
OKLaboklab(34.35% 0.0747 -0.0896)
OKLCHoklch(34.35% 0.117 309.8)
XYZxyz(5.8222, 3.5796, 12.6936)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2265 #3C6522
analogous
#292265 #4B2265 #65225E
triadic
#4B2265 #654B22 #22654B
tetradic
#4B2265 #652922 #3C6522 #225E65
square
#4B2265 #652922 #3C6522 #225E65
split-complementary
#4B2265 #5E6522 #226529
monochromatic
#110817 #291337 #4B2265 #6D3193 #8F42BF

Accessibility & contrast

On white

12.24
#4B2265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4B2265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2265
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2265#FFFFFF#000000##FFFFFF
##4B22651.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033367
Deuteranopia (green-blind)
#193663
Tritanopia (blue-blind)
#472F40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b2265;
/* rgb */ color: rgb(75, 34, 101);
/* oklch */ color: oklch(34.4% 0.117 309.8);
Tailwind
colors: {
  custom: {
    50: '#806091',
    500: '#4b2265',
    950: '#000000',
  },
}
SCSS
$custom: #4b2265;
$custom-light: #806091;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2265",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 276.716,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34351,
    "c": 0.11668,
    "h": 309.8
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#4B2265
secondary
#69994A
accent
#D94F84
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4B2265

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

Preview Lab → · Contrast checker → · Palette generator →

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