#3F249A#3F249A

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

Color values

HEX#3F249A
RGBrgb(63, 36, 154)
HSLhsl(254, 62%, 37%)
HSVhsv(254, 77%, 60%)
CMYKcmyk(59.1%, 76.6%, 0%, 39.6%)
CIE-LABlab(25.72, 43.88, -59.67)
CIE-LCHlch(25.72, 74.07, 306.33°)
OKLaboklab(37.92% 0.0448 -0.1719)
OKLCHoklch(37.92% 0.178 284.6)
XYZxyz(8.5117, 4.6511, 31.0148)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F249A #7F9A24
analogous
#24449A #3F249A #7A249A
triadic
#3F249A #9A3F24 #249A3F
tetradic
#3F249A #9A2444 #7F9A24 #249A7A
square
#3F249A #9A2444 #7F9A24 #249A7A
split-complementary
#3F249A #9A7A24 #449A24
monochromatic
#160D37 #2B1868 #3F249A #5330CC #7B5FDA

Accessibility & contrast

On white

10.88
#3F249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3F249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F249A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F249A#FFFFFF#000000##FFFFFF
##3F249A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#0B455D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f249a;
/* rgb */ color: rgb(63, 36, 154);
/* oklch */ color: oklch(37.9% 0.178 284.6);
Tailwind
colors: {
  custom: {
    50: '#7f62b9',
    500: '#3f249a',
    950: '#000000',
  },
}
SCSS
$custom: #3f249a;
$custom-light: #7f62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f249a",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 253.729,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37915,
    "c": 0.17762,
    "h": 284.6
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#3F249A
secondary
#A8BF5B
accent
#E543C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F249A

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

Preview Lab → · Contrast checker → · Palette generator →

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