#3F2695#3F2695

#3F2695 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.169 H 285.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3F2695
RGBrgb(63, 38, 149)
HSLhsl(254, 59%, 37%)
HSVhsv(254, 74%, 58%)
CMYKcmyk(57.7%, 74.5%, 0%, 41.6%)
CIE-LABlab(25.60, 41.32, -56.79)
CIE-LCHlch(25.60, 70.23, 306.04°)
OKLaboklab(37.69% 0.0445 -0.1635)
OKLCHoklch(37.69% 0.169 285.2)
XYZxyz(8.1662, 4.6124, 28.8879)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2695 #7C9526
analogous
#264495 #3F2695 #772695
triadic
#3F2695 #953F26 #26953F
tetradic
#3F2695 #952644 #7C9526 #269577
square
#3F2695 #952644 #7C9526 #269577
split-complementary
#3F2695 #957726 #449526
monochromatic
#160D33 #2A1A64 #3F2695 #5432C6 #7A5FD6

Accessibility & contrast

On white

10.92
#3F2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3F2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2695
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2695#FFFFFF#000000##FFFFFF
##3F26951.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#14445B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f2695;
/* rgb */ color: rgb(63, 38, 149);
/* oklch */ color: oklch(37.7% 0.169 285.2);
Tailwind
colors: {
  custom: {
    50: '#7e63b5',
    500: '#3f2695',
    950: '#000000',
  },
}
SCSS
$custom: #3f2695;
$custom-light: #7e63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2695",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 253.514,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37685,
    "c": 0.16943,
    "h": 285.2
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#3F2695
secondary
#A6BB5B
accent
#E345BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3F2695

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

Preview Lab → · Contrast checker → · Palette generator →

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