#412265#412265

#412265 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.1% C 0.114 H 301.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#412265
RGBrgb(65, 34, 101)
HSLhsl(268, 50%, 26%)
HSVhsv(268, 66%, 40%)
CMYKcmyk(35.6%, 66.3%, 0%, 60.4%)
CIE-LABlab(20.86, 29.73, -34.07)
CIE-LCHlch(20.86, 45.22, 311.11°)
OKLaboklab(33.05% 0.0599 -0.0967)
OKLCHoklch(33.05% 0.114 301.8)
XYZxyz(5.1004, 3.2074, 12.6598)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412265 #466522
analogous
#222565 #412265 #632265
triadic
#412265 #654122 #226541
tetradic
#412265 #652225 #466522 #226563
square
#412265 #652225 #466522 #226563
split-complementary
#412265 #656322 #256522
monochromatic
#0F0817 #241337 #412265 #5E3193 #7C42BF

Accessibility & contrast

On white

12.79
#412265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#412265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412265
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412265#FFFFFF#000000##FFFFFF
##4122651.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#0C3264
Tritanopia (blue-blind)
#3A3040
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412265;
/* rgb */ color: rgb(65, 34, 101);
/* oklch */ color: oklch(33.1% 0.114 301.8);
Tailwind
colors: {
  custom: {
    50: '#795f91',
    500: '#412265',
    950: '#000000',
  },
}
SCSS
$custom: #412265;
$custom-light: #795f91;
$custom-dark: #000000;
JSON
{
  "hex": "#412265",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 267.761,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33054,
    "c": 0.11374,
    "h": 301.8
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#412265
secondary
#74994A
accent
#D94F99
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #412265

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

Preview Lab → · Contrast checker → · Palette generator →

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