#3F259B#3F259B

#3F259B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.178 H 284.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3F259B
RGBrgb(63, 37, 155)
HSLhsl(253, 61%, 38%)
HSVhsv(253, 76%, 61%)
CMYKcmyk(59.4%, 76.1%, 0%, 39.2%)
CIE-LABlab(26.00, 43.67, -59.82)
CIE-LCHlch(26.00, 74.06, 306.13°)
OKLaboklab(38.14% 0.0438 -0.1723)
OKLCHoklch(38.14% 0.178 284.2)
XYZxyz(8.6260, 4.7459, 31.4655)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F259B #819B25
analogous
#25469B #3F259B #7A259B
triadic
#3F259B #9B3F25 #259B3F
tetradic
#3F259B #9B2546 #819B25 #259B7A
square
#3F259B #9B2546 #819B25 #259B7A
split-complementary
#3F259B #9B7A25 #469B25
monochromatic
#170D38 #2B196A #3F259B #5331CC #7C61D9

Accessibility & contrast

On white

10.77
#3F259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F259B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F259B#FFFFFF#000000##FFFFFF
##3F259B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#08465E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f259b;
/* rgb */ color: rgb(63, 37, 155);
/* oklch */ color: oklch(38.1% 0.178 284.2);
Tailwind
colors: {
  custom: {
    50: '#7f63ba',
    500: '#3f259b',
    950: '#000000',
  },
}
SCSS
$custom: #3f259b;
$custom-light: #7f63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f259b",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 253.22,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38143,
    "c": 0.17781,
    "h": 284.2
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#3F259B
secondary
#A9BF5D
accent
#E543C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F259B

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

Preview Lab → · Contrast checker → · Palette generator →

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