#49237F#49237F

#49237F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.146 H 297.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#49237F
RGBrgb(73, 35, 127)
HSLhsl(265, 57%, 32%)
HSVhsv(265, 72%, 50%)
CMYKcmyk(42.5%, 72.4%, 0%, 50.2%)
CIE-LABlab(24.16, 38.23, -45.38)
CIE-LCHlch(24.16, 59.34, 310.11°)
OKLaboklab(36.32% 0.0674 -0.1296)
OKLCHoklch(36.32% 0.146 297.5)
XYZxyz(7.1785, 4.1507, 20.4975)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49237F #597F23
analogous
#232B7F #49237F #77237F
triadic
#49237F #7F4923 #237F49
tetradic
#49237F #7F232B #597F23 #237F77
square
#49237F #7F232B #597F23 #237F77
split-complementary
#49237F #7F7723 #2B7F23
monochromatic
#12091F #2D164F #49237F #6530AF #834ECE

Accessibility & contrast

On white

11.47
#49237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#49237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49237F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49237F#FFFFFF#000000##FFFFFF
##49237F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#3B3A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #49237f;
/* rgb */ color: rgb(73, 35, 127);
/* oklch */ color: oklch(36.3% 0.146 297.5);
Tailwind
colors: {
  custom: {
    50: '#8161a5',
    500: '#49237f',
    950: '#000000',
  },
}
SCSS
$custom: #49237f;
$custom-light: #8161a5;
$custom-dark: #000000;
JSON
{
  "hex": "#49237f",
  "rgb": {
    "r": 73,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 264.783,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36315,
    "c": 0.14611,
    "h": 297.5
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#49237F
secondary
#88B14C
accent
#E048A1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49237F

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

Preview Lab → · Contrast checker → · Palette generator →

#49237F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva