#4321B2#4321B2

#4321B2 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.208 H 282.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4321B2
RGBrgb(67, 33, 178)
HSLhsl(254, 69%, 41%)
HSVhsv(254, 81%, 70%)
CMYKcmyk(62.4%, 81.5%, 0%, 30.2%)
CIE-LABlab(28.10, 52.78, -70.24)
CIE-LCHlch(28.10, 87.86, 306.92°)
OKLaboklab(40.41% 0.0455 -0.2026)
OKLCHoklch(40.41% 0.208 282.7)
XYZxyz(10.8920, 5.4946, 42.5974)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4321B2 #90B221
analogous
#2148B2 #4321B2 #8C21B2
triadic
#4321B2 #B24321 #21B243
tetradic
#4321B2 #B22148 #90B221 #21B28C
square
#4321B2 #B22148 #90B221 #21B28C
split-complementary
#4321B2 #B28C21 #48B221
monochromatic
#1C0E4B #30177E #4321B2 #5D36DA #866AE3

Accessibility & contrast

On white

10.00
#4321B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4321B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4321B2
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4321B2#FFFFFF#000000##FFFFFF
##4321B21.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4321b2;
/* rgb */ color: rgb(67, 33, 178);
/* oklch */ color: oklch(40.4% 0.208 282.7);
Tailwind
colors: {
  custom: {
    50: '#8662ca',
    500: '#4321b2',
    950: '#000000',
  },
}
SCSS
$custom: #4321b2;
$custom-light: #8662ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4321b2",
  "rgb": {
    "r": 67,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 254.069,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40411,
    "c": 0.20764,
    "h": 282.7
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#4321B2
secondary
#B2C966
accent
#EC3CC2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #4321B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4321B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva