#421265#421265

#421265 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.136 H 306.0°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#421265
RGBrgb(66, 18, 101)
HSLhsl(275, 70%, 23%)
HSVhsv(275, 82%, 40%)
CMYKcmyk(34.7%, 82.2%, 0%, 60.4%)
CIE-LABlab(18.06, 38.17, -38.60)
CIE-LCHlch(18.06, 54.29, 314.68°)
OKLaboklab(31.09% 0.0798 -0.1099)
OKLCHoklch(31.09% 0.136 306)
XYZxyz(4.8115, 2.5305, 12.5444)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421265 #356512
analogous
#181265 #421265 #65125E
triadic
#421265 #654212 #126542
tetradic
#421265 #651812 #356512 #125E65
square
#421265 #651812 #356512 #125E65
split-complementary
#421265 #5E6512 #126518
monochromatic
#11051A #200931 #421265 #641B99 #8625CD

Accessibility & contrast

On white

13.94
#421265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#421265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421265
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421265#FFFFFF#000000##FFFFFF
##4212651.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#3C273B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421265;
/* rgb */ color: rgb(66, 18, 101);
/* oklch */ color: oklch(31.1% 0.136 306.0);
Tailwind
colors: {
  custom: {
    50: '#7b5692',
    500: '#421265',
    950: '#000000',
  },
}
SCSS
$custom: #421265;
$custom-light: #7b5692;
$custom-dark: #000000;
JSON
{
  "hex": "#421265",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 274.699,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31088,
    "c": 0.13579,
    "h": 306
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#421265
secondary
#619D36
accent
#ED3B86
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421265

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

Preview Lab → · Contrast checker → · Palette generator →

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