#3F1853#3F1853

#3F1853 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.107 H 312.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#3F1853
RGBrgb(63, 24, 83)
HSLhsl(280, 55%, 21%)
HSVhsv(280, 71%, 33%)
CMYKcmyk(24.1%, 71.1%, 0%, 67.5%)
CIE-LABlab(17.15, 30.10, -28.06)
CIE-LCHlch(17.15, 41.16, 317.01°)
OKLaboklab(29.89% 0.0715 -0.0791)
OKLCHoklch(29.89% 0.107 312.1)
XYZxyz(3.9376, 2.3347, 8.4251)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1853 #2C5318
analogous
#211853 #3F1853 #531849
triadic
#3F1853 #533F18 #18533F
tetradic
#3F1853 #532118 #2C5318 #184953
square
#3F1853 #532118 #2C5318 #184953
split-complementary
#3F1853 #495318 #185321
monochromatic
#120718 #1B0A24 #3F1853 #632682 #8733B2

Accessibility & contrast

On white

14.31
#3F1853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F1853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1853
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1853#FFFFFF#000000##FFFFFF
##3F18531.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#132B52
Tritanopia (blue-blind)
#3D2433
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f1853;
/* rgb */ color: rgb(63, 24, 83);
/* oklch */ color: oklch(29.9% 0.107 312.1);
Tailwind
colors: {
  custom: {
    50: '#765884',
    500: '#3f1853',
    950: '#000000',
  },
}
SCSS
$custom: #3f1853;
$custom-light: #765884;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1853",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 279.661,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2989,
    "c": 0.1066,
    "h": 312.1
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#3F1853
secondary
#578A3D
accent
#DE497C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1853

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

Preview Lab → · Contrast checker → · Palette generator →

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