#412283#412283

#412283 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.152 H 291.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#412283
RGBrgb(65, 34, 131)
HSLhsl(259, 59%, 32%)
HSVhsv(259, 74%, 51%)
CMYKcmyk(50.4%, 74%, 0%, 48.6%)
CIE-LABlab(23.36, 38.40, -49.25)
CIE-LCHlch(23.36, 62.45, 307.94°)
OKLaboklab(35.63% 0.0553 -0.1413)
OKLCHoklch(35.63% 0.152 291.4)
XYZxyz(6.8476, 3.9063, 21.8615)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412283 #648322
analogous
#223483 #412283 #712283
triadic
#412283 #834122 #228341
tetradic
#412283 #832234 #648322 #228371
square
#412283 #832234 #648322 #228371
split-complementary
#412283 #837122 #348322
monochromatic
#110922 #291552 #412283 #592FB4 #784ED1

Accessibility & contrast

On white

11.79
#412283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#412283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412283
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412283#FFFFFF#000000##FFFFFF
##4122831.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#2B3B50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412283;
/* rgb */ color: rgb(65, 34, 131);
/* oklch */ color: oklch(35.6% 0.152 291.4);
Tailwind
colors: {
  custom: {
    50: '#7d60a8',
    500: '#412283',
    950: '#000000',
  },
}
SCSS
$custom: #412283;
$custom-light: #7d60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412283",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 259.175,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.15172,
    "h": 291.4
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#412283
secondary
#93B44C
accent
#E246B0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412283

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

Preview Lab → · Contrast checker → · Palette generator →

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