#4321B3#4321B3

#4321B3 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.5% C 0.209 H 282.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4321B3
RGBrgb(67, 33, 179)
HSLhsl(254, 69%, 42%)
HSVhsv(254, 82%, 70%)
CMYKcmyk(62.6%, 81.6%, 0%, 29.8%)
CIE-LABlab(28.21, 53.06, -70.66)
CIE-LCHlch(28.21, 88.36, 306.90°)
OKLaboklab(40.52% 0.0452 -0.2038)
OKLCHoklch(40.52% 0.209 282.5)
XYZxyz(10.9927, 5.5349, 43.1281)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4321B3 #91B321
analogous
#2148B3 #4321B3 #8C21B3
triadic
#4321B3 #B34321 #21B343
tetradic
#4321B3 #B32148 #91B321 #21B38C
square
#4321B3 #B32148 #91B321 #21B38C
split-complementary
#4321B3 #B38C21 #48B321
monochromatic
#1C0E4C #30177F #4321B3 #5D37DA #876BE4

Accessibility & contrast

On white

9.97
#4321B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4321B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4321B3
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4321B3#FFFFFF#000000##FFFFFF
##4321B31.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4321b3;
/* rgb */ color: rgb(67, 33, 179);
/* oklch */ color: oklch(40.5% 0.209 282.5);
Tailwind
colors: {
  custom: {
    50: '#8662cb',
    500: '#4321b3',
    950: '#000000',
  },
}
SCSS
$custom: #4321b3;
$custom-light: #8662cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4321b3",
  "rgb": {
    "r": 67,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 253.973,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40518,
    "c": 0.20877,
    "h": 282.5
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#4321B3
secondary
#B2CA66
accent
#EC3CC3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #4321B3

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

Preview Lab → · Contrast checker → · Palette generator →

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