#3F259A#3F259A

#3F259A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.177 H 284.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3F259A
RGBrgb(63, 37, 154)
HSLhsl(253, 61%, 37%)
HSVhsv(253, 76%, 60%)
CMYKcmyk(59.1%, 76%, 0%, 39.6%)
CIE-LABlab(25.90, 43.37, -59.37)
CIE-LCHlch(25.90, 73.52, 306.15°)
OKLaboklab(38.04% 0.044 -0.171)
OKLCHoklch(38.04% 0.177 284.4)
XYZxyz(8.5424, 4.7125, 31.0250)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F259A #809A25
analogous
#25469A #3F259A #79259A
triadic
#3F259A #9A3F25 #259A3F
tetradic
#3F259A #9A2546 #809A25 #259A79
square
#3F259A #9A2546 #809A25 #259A79
split-complementary
#3F259A #9A7925 #469A25
monochromatic
#170D37 #2B1969 #3F259A #5331CB #7B60D9

Accessibility & contrast

On white

10.81
#3F259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3F259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F259A
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F259A#FFFFFF#000000##FFFFFF
##3F259A1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#0B465E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f259a;
/* rgb */ color: rgb(63, 37, 154);
/* oklch */ color: oklch(38.0% 0.177 284.4);
Tailwind
colors: {
  custom: {
    50: '#7f63b9',
    500: '#3f259a',
    950: '#000000',
  },
}
SCSS
$custom: #3f259a;
$custom-light: #7f63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f259a",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 253.333,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38044,
    "c": 0.17659,
    "h": 284.4
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#3F259A
secondary
#A8BE5D
accent
#E443C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F259A

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

Preview Lab → · Contrast checker → · Palette generator →

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