#4315B4#4315B4

#4315B4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.6% C 0.218 H 283.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4315B4
RGBrgb(67, 21, 180)
HSLhsl(257, 79%, 39%)
HSVhsv(257, 88%, 71%)
CMYKcmyk(62.8%, 88.3%, 0%, 29.4%)
CIE-LABlab(26.80, 57.82, -73.58)
CIE-LCHlch(26.80, 93.58, 308.16°)
OKLaboklab(39.59% 0.0501 -0.2121)
OKLCHoklch(39.59% 0.218 283.3)
XYZxyz(10.8186, 5.0241, 43.5708)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4315B4 #86B415
analogous
#1537B4 #4315B4 #9215B4
triadic
#4315B4 #B44315 #15B443
tetradic
#4315B4 #B41537 #86B415 #15B492
square
#4315B4 #B41537 #86B415 #15B492
split-complementary
#4315B4 #B49215 #37B415
monochromatic
#1A0846 #2F0F7D #4315B4 #5A21E5 #8358EC

Accessibility & contrast

On white

10.47
#4315B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4315B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4315B4
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4315B4#FFFFFF#000000##FFFFFF
##4315B41.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4315b4;
/* rgb */ color: rgb(67, 21, 180);
/* oklch */ color: oklch(39.6% 0.218 283.3);
Tailwind
colors: {
  custom: {
    50: '#875dcc',
    500: '#4315b4',
    950: '#000000',
  },
}
SCSS
$custom: #4315b4;
$custom-light: #875dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4315b4",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 257.358,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.21797,
    "h": 283.3
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#4315B4
secondary
#ACCF56
accent
#F632BD
background
#F9F5FC
surface
#F1E9F9
border
#CBC5D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4315B4

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

Preview Lab → · Contrast checker → · Palette generator →

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