#3F259D#3F259D

#3F259D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.180 H 283.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3F259D
RGBrgb(63, 37, 157)
HSLhsl(253, 62%, 38%)
HSVhsv(253, 76%, 62%)
CMYKcmyk(59.9%, 76.4%, 0%, 38.4%)
CIE-LABlab(26.20, 44.27, -60.71)
CIE-LCHlch(26.20, 75.14, 306.10°)
OKLaboklab(38.34% 0.0432 -0.1749)
OKLCHoklch(38.34% 0.18 283.9)
XYZxyz(8.7954, 4.8136, 32.3574)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F259D #839D25
analogous
#25479D #3F259D #7B259D
triadic
#3F259D #9D3F25 #259D3F
tetradic
#3F259D #9D2547 #839D25 #259D7B
square
#3F259D #9D2547 #839D25 #259D7B
split-complementary
#3F259D #9D7B25 #479D25
monochromatic
#170E3A #2B196B #3F259D #5331CE #7C62DA

Accessibility & contrast

On white

10.70
#3F259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F259D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F259D#FFFFFF#000000##FFFFFF
##3F259D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#02475F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f259d;
/* rgb */ color: rgb(63, 37, 157);
/* oklch */ color: oklch(38.3% 0.180 283.9);
Tailwind
colors: {
  custom: {
    50: '#8063bb',
    500: '#3f259d',
    950: '#000000',
  },
}
SCSS
$custom: #3f259d;
$custom-light: #8063bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f259d",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 253,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38343,
    "c": 0.18021,
    "h": 283.9
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#3F259D
secondary
#AABF5E
accent
#E543C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F259D

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

Preview Lab → · Contrast checker → · Palette generator →

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