#4317B4#4317B4

#4317B4 is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.7% C 0.217 H 283.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4317B4
RGBrgb(67, 23, 180)
HSLhsl(257, 77%, 40%)
HSVhsv(257, 87%, 71%)
CMYKcmyk(62.8%, 87.2%, 0%, 29.4%)
CIE-LABlab(27.02, 57.17, -73.22)
CIE-LCHlch(27.02, 92.90, 307.98°)
OKLaboklab(39.74% 0.0494 -0.2111)
OKLCHoklch(39.74% 0.217 283.2)
XYZxyz(10.8568, 5.1006, 43.5836)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4317B4 #88B417
analogous
#173AB4 #4317B4 #9117B4
triadic
#4317B4 #B44317 #17B443
tetradic
#4317B4 #B4173A #88B417 #17B491
square
#4317B4 #B4173A #88B417 #17B491
split-complementary
#4317B4 #B49117 #3AB417
monochromatic
#1B0947 #2F107E #4317B4 #5A25E3 #835BEA

Accessibility & contrast

On white

10.40
#4317B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4317B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4317B4
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4317B4#FFFFFF#000000##FFFFFF
##4317B41.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4317b4;
/* rgb */ color: rgb(67, 23, 180);
/* oklch */ color: oklch(39.7% 0.217 283.2);
Tailwind
colors: {
  custom: {
    50: '#875ecc',
    500: '#4317b4',
    950: '#000000',
  },
}
SCSS
$custom: #4317b4;
$custom-light: #875ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4317b4",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 256.815,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.21682,
    "h": 283.2
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#4317B4
secondary
#ADCE59
accent
#F434BE
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4317B4

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

Preview Lab → · Contrast checker → · Palette generator →

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