#4315A1#4315A1

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

Color values

HEX#4315A1
RGBrgb(67, 21, 161)
HSLhsl(260, 77%, 36%)
HSVhsv(260, 87%, 63%)
CMYKcmyk(58.4%, 87%, 0%, 36.9%)
CIE-LABlab(24.65, 52.81, -65.69)
CIE-LCHlch(24.65, 84.29, 308.80°)
OKLaboklab(37.49% 0.0577 -0.1892)
OKLCHoklch(37.49% 0.198 287)
XYZxyz(9.0140, 4.3023, 34.0668)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4315A1 #73A115
analogous
#152DA1 #4315A1 #8915A1
triadic
#4315A1 #A14315 #15A143
tetradic
#4315A1 #A1152D #73A115 #15A189
square
#4315A1 #A1152D #73A115 #15A189
split-complementary
#4315A1 #A18915 #2DA115
monochromatic
#160735 #2C0E6B #4315A1 #5A1CD7 #7D49E7

Accessibility & contrast

On white

11.29
#4315A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4315A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4315A1
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4315A1#FFFFFF#000000##FFFFFF
##4315A11.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#12425F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4315a1;
/* rgb */ color: rgb(67, 21, 161);
/* oklch */ color: oklch(37.5% 0.198 287.0);
Tailwind
colors: {
  custom: {
    50: '#845cbe',
    500: '#4315a1',
    950: '#000000',
  },
}
SCSS
$custom: #4315a1;
$custom-light: #845cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4315a1",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 259.714,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.19779,
    "h": 287
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#4315A1
secondary
#9FC849
accent
#F334B5
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4315A1

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

Preview Lab → · Contrast checker → · Palette generator →

#4315A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva