#4317A0#4317A0

#4317A0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.5% C 0.195 H 287.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#4317A0
RGBrgb(67, 23, 160)
HSLhsl(259, 75%, 36%)
HSVhsv(259, 86%, 63%)
CMYKcmyk(58.1%, 85.6%, 0%, 37.3%)
CIE-LABlab(24.78, 51.84, -64.87)
CIE-LCHlch(24.78, 83.04, 308.63°)
OKLaboklab(37.55% 0.0571 -0.1868)
OKLCHoklch(37.55% 0.195 287)
XYZxyz(8.9644, 4.3436, 33.6169)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4317A0 #74A017
analogous
#172FA0 #4317A0 #8717A0
triadic
#4317A0 #A04317 #17A043
tetradic
#4317A0 #A0172F #74A017 #17A087
square
#4317A0 #A0172F #74A017 #17A087
split-complementary
#4317A0 #A08717 #2FA017
monochromatic
#160835 #2D0F6A #4317A0 #591FD6 #7D4CE5

Accessibility & contrast

On white

11.24
#4317A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4317A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4317A0
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4317A0#FFFFFF#000000##FFFFFF
##4317A01.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#14435E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4317a0;
/* rgb */ color: rgb(67, 23, 160);
/* oklch */ color: oklch(37.5% 0.195 287.0);
Tailwind
colors: {
  custom: {
    50: '#835dbd',
    500: '#4317a0',
    950: '#000000',
  },
}
SCSS
$custom: #4317a0;
$custom-light: #835dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4317a0",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 259.27,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3755,
    "c": 0.19535,
    "h": 287
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#4317A0
secondary
#9FC74C
accent
#F136B5
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4317A0

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

Preview Lab → · Contrast checker → · Palette generator →

#4317A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva