#49238C#49238C

#49238C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.162 H 293.6°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#49238C
RGBrgb(73, 35, 140)
HSLhsl(262, 60%, 34%)
HSVhsv(262, 75%, 55%)
CMYKcmyk(47.9%, 75%, 0%, 45.1%)
CIE-LABlab(25.30, 41.86, -51.68)
CIE-LCHlch(25.30, 66.50, 309.01°)
OKLaboklab(37.47% 0.0646 -0.1481)
OKLCHoklch(37.47% 0.162 293.6)
XYZxyz(8.0810, 4.5117, 25.2509)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49238C #668C23
analogous
#23328C #49238C #7E238C
triadic
#49238C #8C4923 #238C49
tetradic
#49238C #8C2332 #668C23 #238C7E
square
#49238C #8C2332 #668C23 #238C7E
split-complementary
#49238C #8C7E23 #328C23
monochromatic
#160B2A #2F175B #49238C #632FBD #8355D4

Accessibility & contrast

On white

11.04
#49238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49238C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49238C#FFFFFF#000000##FFFFFF
##49238C1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#353F55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #49238c;
/* rgb */ color: rgb(73, 35, 140);
/* oklch */ color: oklch(37.5% 0.162 293.6);
Tailwind
colors: {
  custom: {
    50: '#8362af',
    500: '#49238c',
    950: '#000000',
  },
}
SCSS
$custom: #49238c;
$custom-light: #8362af;
$custom-dark: #000000;
JSON
{
  "hex": "#49238c",
  "rgb": {
    "r": 73,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 261.714,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37469,
    "c": 0.16162,
    "h": 293.6
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#49238C
secondary
#94B852
accent
#E345AA
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #49238C

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

Preview Lab → · Contrast checker → · Palette generator →

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