#3F2485#3F2485

#3F2485 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.152 H 289.2°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#3F2485
RGBrgb(63, 36, 133)
HSLhsl(257, 57%, 33%)
HSVhsv(257, 73%, 52%)
CMYKcmyk(52.6%, 72.9%, 0%, 47.8%)
CIE-LABlab(23.71, 37.55, -49.94)
CIE-LCHlch(23.71, 62.48, 306.94°)
OKLaboklab(35.89% 0.0498 -0.1434)
OKLCHoklch(35.89% 0.152 289.2)
XYZxyz(6.9132, 4.0117, 22.5958)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2485 #6A8524
analogous
#243985 #3F2485 #6F2485
triadic
#3F2485 #853F24 #24853F
tetradic
#3F2485 #852439 #6A8524 #24856F
square
#3F2485 #852439 #6A8524 #24856F
split-complementary
#3F2485 #856F24 #398524
monochromatic
#110A25 #281755 #3F2485 #5631B5 #7653D0

Accessibility & contrast

On white

11.65
#3F2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3F2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2485
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2485#FFFFFF#000000##FFFFFF
##3F24851.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#263D52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f2485;
/* rgb */ color: rgb(63, 36, 133);
/* oklch */ color: oklch(35.9% 0.152 289.2);
Tailwind
colors: {
  custom: {
    50: '#7c61a9',
    500: '#3f2485',
    950: '#000000',
  },
}
SCSS
$custom: #3f2485;
$custom-light: #7c61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2485",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 256.701,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.15182,
    "h": 289.2
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#3F2485
secondary
#99B450
accent
#E147B6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2485

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

Preview Lab → · Contrast checker → · Palette generator →

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