#4318B4#4318B4

#4318B4 is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.8% C 0.216 H 283.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#4318B4
RGBrgb(67, 24, 180)
HSLhsl(257, 76%, 40%)
HSVhsv(257, 87%, 71%)
CMYKcmyk(62.8%, 86.7%, 0%, 29.4%)
CIE-LABlab(27.13, 56.83, -73.04)
CIE-LCHlch(27.13, 92.54, 307.89°)
OKLaboklab(39.81% 0.049 -0.2106)
OKLCHoklch(39.81% 0.216 283.1)
XYZxyz(10.8770, 5.1411, 43.5903)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4318B4 #89B418
analogous
#183BB4 #4318B4 #9118B4
triadic
#4318B4 #B44318 #18B443
tetradic
#4318B4 #B4183B #89B418 #18B491
square
#4318B4 #B4183B #89B418 #18B491
split-complementary
#4318B4 #B49118 #3BB418
monochromatic
#1B0A48 #2F117E #4318B4 #5B27E2 #845DE9

Accessibility & contrast

On white

10.35
#4318B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4318B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4318B4
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4318B4#FFFFFF#000000##FFFFFF
##4318B41.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4318b4;
/* rgb */ color: rgb(67, 24, 180);
/* oklch */ color: oklch(39.8% 0.216 283.1);
Tailwind
colors: {
  custom: {
    50: '#875fcc',
    500: '#4318b4',
    950: '#000000',
  },
}
SCSS
$custom: #4318b4;
$custom-light: #875fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4318b4",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 256.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.21622,
    "h": 283.1
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#4318B4
secondary
#AECD5B
accent
#F335BF
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4318B4

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

Preview Lab → · Contrast checker → · Palette generator →

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