#412253#412253

#412253 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.7% C 0.090 H 311.5°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#412253
RGBrgb(65, 34, 83)
HSLhsl(278, 42%, 23%)
HSVhsv(278, 59%, 33%)
CMYKcmyk(21.7%, 59%, 0%, 67.5%)
CIE-LABlab(19.61, 24.86, -24.13)
CIE-LCHlch(19.61, 34.64, 315.86°)
OKLaboklab(31.74% 0.0598 -0.0675)
OKLCHoklch(31.74% 0.09 311.5)
XYZxyz(4.3131, 2.8925, 8.5130)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412253 #345322
analogous
#282253 #412253 #53224C
triadic
#412253 #534122 #225341
tetradic
#412253 #532822 #345322 #224C53
square
#412253 #532822 #345322 #224C53
split-complementary
#412253 #4C5322 #225328
monochromatic
#110916 #1F1028 #412253 #63347E #8546AA

Accessibility & contrast

On white

13.30
#412253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412253
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412253#FFFFFF#000000##FFFFFF
##4122531.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E55
Deuteranopia (green-blind)
#1F3052
Tritanopia (blue-blind)
#3F2A37
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412253;
/* rgb */ color: rgb(65, 34, 83);
/* oklch */ color: oklch(31.7% 0.090 311.5);
Tailwind
colors: {
  custom: {
    50: '#775e83',
    500: '#412253',
    950: '#000000',
  },
}
SCSS
$custom: #412253;
$custom-light: #775e83;
$custom-dark: #000000;
JSON
{
  "hex": "#412253",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 277.959,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31742,
    "c": 0.09022,
    "h": 311.5
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#412253
secondary
#60874A
accent
#D25684
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412253

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

Preview Lab → · Contrast checker → · Palette generator →

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