#49238B#49238B

#49238B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.160 H 293.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#49238B
RGBrgb(73, 35, 139)
HSLhsl(262, 60%, 34%)
HSVhsv(262, 75%, 55%)
CMYKcmyk(47.5%, 74.8%, 0%, 45.5%)
CIE-LABlab(25.21, 41.58, -51.20)
CIE-LCHlch(25.21, 65.96, 309.08°)
OKLaboklab(37.38% 0.0649 -0.1467)
OKLCHoklch(37.38% 0.16 293.8)
XYZxyz(8.0076, 4.4824, 24.8644)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49238B #658B23
analogous
#23318B #49238B #7D238B
triadic
#49238B #8B4923 #238B49
tetradic
#49238B #8B2331 #658B23 #238B7D
square
#49238B #8B2331 #658B23 #238B7D
split-complementary
#49238B #8B7D23 #318B23
monochromatic
#160A29 #2F175A #49238B #632FBC #8354D4

Accessibility & contrast

On white

11.07
#49238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#49238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49238B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49238B#FFFFFF#000000##FFFFFF
##49238B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#353E55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #49238b;
/* rgb */ color: rgb(73, 35, 139);
/* oklch */ color: oklch(37.4% 0.160 293.8);
Tailwind
colors: {
  custom: {
    50: '#8362ae',
    500: '#49238b',
    950: '#000000',
  },
}
SCSS
$custom: #49238b;
$custom-light: #8362ae;
$custom-dark: #000000;
JSON
{
  "hex": "#49238b",
  "rgb": {
    "r": 73,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 261.923,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37378,
    "c": 0.16043,
    "h": 293.8
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#49238B
secondary
#93B852
accent
#E345A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #49238B

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

Preview Lab → · Contrast checker → · Palette generator →

#49238B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva