#421275#421275

#421275 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.153 H 299.3°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#421275
RGBrgb(66, 18, 117)
HSLhsl(269, 73%, 26%)
HSVhsv(269, 85%, 46%)
CMYKcmyk(43.6%, 84.6%, 0%, 54.1%)
CIE-LABlab(19.54, 42.23, -46.60)
CIE-LCHlch(19.54, 62.89, 312.18°)
OKLaboklab(32.58% 0.0749 -0.1333)
OKLCHoklch(32.58% 0.153 299.3)
XYZxyz(5.6731, 2.8751, 17.0822)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421275 #457512
analogous
#121475 #421275 #741275
triadic
#421275 #754212 #127542
tetradic
#421275 #751214 #457512 #127574
square
#421275 #751214 #457512 #127574
split-complementary
#421275 #757412 #147512
monochromatic
#0F041B #240A40 #421275 #601AAA #7E24DD

Accessibility & contrast

On white

13.33
#421275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421275
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421275#FFFFFF#000000##FFFFFF
##4212751.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#352E44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421275;
/* rgb */ color: rgb(66, 18, 117);
/* oklch */ color: oklch(32.6% 0.153 299.3);
Tailwind
colors: {
  custom: {
    50: '#7c579e',
    500: '#421275',
    950: '#000000',
  },
}
SCSS
$custom: #421275;
$custom-light: #7c579e;
$custom-dark: #000000;
JSON
{
  "hex": "#421275",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 269.091,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32576,
    "c": 0.15292,
    "h": 299.3
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#421275
secondary
#73AC37
accent
#F03897
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421275

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

Preview Lab → · Contrast checker → · Palette generator →

#421275 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva