#412183#412183

#412183 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.153 H 291.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#412183
RGBrgb(65, 33, 131)
HSLhsl(260, 60%, 32%)
HSVhsv(260, 75%, 51%)
CMYKcmyk(50.4%, 74.8%, 0%, 48.6%)
CIE-LABlab(23.17, 38.93, -49.56)
CIE-LCHlch(23.17, 63.03, 308.15°)
OKLaboklab(35.5% 0.0562 -0.1422)
OKLCHoklch(35.5% 0.153 291.6)
XYZxyz(6.8194, 3.8500, 21.8521)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412183 #638321
analogous
#213283 #412183 #722183
triadic
#412183 #834121 #218341
tetradic
#412183 #832132 #638321 #218372
square
#412183 #832132 #638321 #218372
split-complementary
#412183 #837221 #328321
monochromatic
#100821 #291552 #412183 #592DB4 #784CD2

Accessibility & contrast

On white

11.86
#412183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#412183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412183
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412183#FFFFFF#000000##FFFFFF
##4121831.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412183;
/* rgb */ color: rgb(65, 33, 131);
/* oklch */ color: oklch(35.5% 0.153 291.6);
Tailwind
colors: {
  custom: {
    50: '#7d5fa8',
    500: '#412183',
    950: '#000000',
  },
}
SCSS
$custom: #412183;
$custom-light: #7d5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#412183",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 259.592,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.15292,
    "h": 291.6
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#412183
secondary
#92B54B
accent
#E345AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412183

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

Preview Lab → · Contrast checker → · Palette generator →

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