#4618B4#4618B4

#4618B4 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.1% C 0.216 H 284.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4618B4
RGBrgb(70, 24, 180)
HSLhsl(258, 76%, 40%)
HSVhsv(258, 87%, 71%)
CMYKcmyk(61.1%, 86.7%, 0%, 29.4%)
CIE-LABlab(27.44, 57.09, -72.53)
CIE-LCHlch(27.44, 92.30, 308.21°)
OKLaboklab(40.09% 0.0537 -0.209)
OKLCHoklch(40.09% 0.216 284.4)
XYZxyz(11.0881, 5.2499, 43.6002)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4618B4 #86B418
analogous
#1838B4 #4618B4 #9418B4
triadic
#4618B4 #B44618 #18B446
tetradic
#4618B4 #B41838 #86B418 #18B494
square
#4618B4 #B41838 #86B418 #18B494
split-complementary
#4618B4 #B49418 #38B418
monochromatic
#1C0A48 #31117E #4618B4 #5E27E2 #865DE9

Accessibility & contrast

On white

10.24
#4618B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4618B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4618B4
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4618B4#FFFFFF#000000##FFFFFF
##4618B41.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4618b4;
/* rgb */ color: rgb(70, 24, 180);
/* oklch */ color: oklch(40.1% 0.216 284.4);
Tailwind
colors: {
  custom: {
    50: '#885fcc',
    500: '#4618b4',
    950: '#000000',
  },
}
SCSS
$custom: #4618b4;
$custom-light: #885fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4618b4",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 257.692,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.21584,
    "h": 284.4
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#4618B4
secondary
#ABCD5B
accent
#F335BB
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4618B4

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

Preview Lab → · Contrast checker → · Palette generator →

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