#3F259C#3F259C

#3F259C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.179 H 284.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3F259C
RGBrgb(63, 37, 156)
HSLhsl(253, 62%, 38%)
HSVhsv(253, 76%, 61%)
CMYKcmyk(59.6%, 76.3%, 0%, 38.8%)
CIE-LABlab(26.10, 43.97, -60.26)
CIE-LCHlch(26.10, 74.60, 306.12°)
OKLaboklab(38.24% 0.0435 -0.1736)
OKLCHoklch(38.24% 0.179 284.1)
XYZxyz(8.7104, 4.7796, 31.9096)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F259C #829C25
analogous
#25479C #3F259C #7A259C
triadic
#3F259C #9C3F25 #259C3F
tetradic
#3F259C #9C2547 #829C25 #259C7A
square
#3F259C #9C2547 #829C25 #259C7A
split-complementary
#3F259C #9C7A25 #479C25
monochromatic
#170E39 #2B196B #3F259C #5331CD #7C62DA

Accessibility & contrast

On white

10.74
#3F259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F259C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F259C#FFFFFF#000000##FFFFFF
##3F259C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#05475F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f259c;
/* rgb */ color: rgb(63, 37, 156);
/* oklch */ color: oklch(38.2% 0.179 284.1);
Tailwind
colors: {
  custom: {
    50: '#8063ba',
    500: '#3f259c',
    950: '#000000',
  },
}
SCSS
$custom: #3f259c;
$custom-light: #8063ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f259c",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 253.109,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38243,
    "c": 0.17902,
    "h": 284.1
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F259C

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

Preview Lab → · Contrast checker → · Palette generator →

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