#3F2495#3F2495

#3F2495 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.172 H 285.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#3F2495
RGBrgb(63, 36, 149)
HSLhsl(254, 61%, 36%)
HSVhsv(254, 76%, 58%)
CMYKcmyk(57.7%, 75.8%, 0%, 41.6%)
CIE-LABlab(25.22, 42.38, -57.41)
CIE-LCHlch(25.22, 71.36, 306.44°)
OKLaboklab(37.42% 0.0461 -0.1653)
OKLCHoklch(37.42% 0.172 285.6)
XYZxyz(8.1040, 4.4880, 28.8672)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2495 #7A9524
analogous
#244295 #3F2495 #782495
triadic
#3F2495 #953F24 #24953F
tetradic
#3F2495 #952442 #7A9524 #249578
square
#3F2495 #952442 #7A9524 #249578
split-complementary
#3F2495 #957824 #429524
monochromatic
#150C32 #2A1864 #3F2495 #5430C6 #795CD8

Accessibility & contrast

On white

11.07
#3F2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F2495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2495
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2495#FFFFFF#000000##FFFFFF
##3F24951.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#15435B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2495;
/* rgb */ color: rgb(63, 36, 149);
/* oklch */ color: oklch(37.4% 0.172 285.6);
Tailwind
colors: {
  custom: {
    50: '#7e62b5',
    500: '#3f2495',
    950: '#000000',
  },
}
SCSS
$custom: #3f2495;
$custom-light: #7e62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2495",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 254.336,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37419,
    "c": 0.17159,
    "h": 285.6
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#3F2495
secondary
#A4BC59
accent
#E444BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2495

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

Preview Lab → · Contrast checker → · Palette generator →

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