#3F2285#3F2285

#3F2285 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.154 H 289.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#3F2285
RGBrgb(63, 34, 133)
HSLhsl(258, 59%, 33%)
HSVhsv(258, 74%, 52%)
CMYKcmyk(52.6%, 74.4%, 0%, 47.8%)
CIE-LABlab(23.32, 38.65, -50.59)
CIE-LCHlch(23.32, 63.66, 307.38°)
OKLaboklab(35.61% 0.0517 -0.1453)
OKLCHoklch(35.61% 0.154 289.6)
XYZxyz(6.8543, 3.8940, 22.5762)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2285 #688522
analogous
#223685 #3F2285 #702285
triadic
#3F2285 #853F22 #22853F
tetradic
#3F2285 #852236 #688522 #228570
square
#3F2285 #852236 #688522 #228570
split-complementary
#3F2285 #857022 #368522
monochromatic
#110924 #281654 #3F2285 #562EB6 #764FD2

Accessibility & contrast

On white

11.81
#3F2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3F2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2285
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2285#FFFFFF#000000##FFFFFF
##3F22851.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#263C51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f2285;
/* rgb */ color: rgb(63, 34, 133);
/* oklch */ color: oklch(35.6% 0.154 289.6);
Tailwind
colors: {
  custom: {
    50: '#7c60a9',
    500: '#3f2285',
    950: '#000000',
  },
}
SCSS
$custom: #3f2285;
$custom-light: #7c60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2285",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 257.576,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35607,
    "c": 0.15421,
    "h": 289.6
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#3F2285
secondary
#97B64D
accent
#E245B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2285

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

Preview Lab → · Contrast checker → · Palette generator →

#3F2285 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva