#3F0945#3F0945

#3F0945 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.112 H 323.5°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#3F0945
RGBrgb(63, 9, 69)
HSLhsl(294, 77%, 15%)
HSVhsv(294, 87%, 27%)
CMYKcmyk(8.7%, 87%, 0%, 72.9%)
CIE-LABlab(13.72, 33.71, -23.94)
CIE-LCHlch(13.72, 41.34, 324.62°)
OKLaboklab(27.11% 0.0904 -0.0669)
OKLCHoklch(27.11% 0.112 323.5)
XYZxyz(3.2217, 1.6820, 5.7840)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0945 #0F4509
analogous
#210945 #3F0945 #45092D
triadic
#3F0945 #453F09 #09453F
tetradic
#3F0945 #452109 #0F4509 #092D45
square
#3F0945 #452109 #0F4509 #092D45
split-complementary
#3F0945 #2D4509 #094521
monochromatic
#19041B #19041B #3F0945 #70107B #A217B1

Accessibility & contrast

On white

15.71
#3F0945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3F0945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0945
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0945#FFFFFF#000000##FFFFFF
##3F09451.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#142544
Tritanopia (blue-blind)
#401527
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0945;
/* rgb */ color: rgb(63, 9, 69);
/* oklch */ color: oklch(27.1% 0.112 323.5);
Tailwind
colors: {
  custom: {
    50: '#775079',
    500: '#3f0945',
    950: '#000000',
  },
}
SCSS
$custom: #3f0945;
$custom-light: #775079;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0945",
  "rgb": {
    "r": 63,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 294,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27109,
    "c": 0.11241,
    "h": 323.5
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#3F0945
secondary
#308327
accent
#F33447
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0945

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

Preview Lab → · Contrast checker → · Palette generator →

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