#3F0E58#3F0E58

#3F0E58 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.126 H 310.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#3F0E58
RGBrgb(63, 14, 88)
HSLhsl(280, 73%, 20%)
HSVhsv(280, 84%, 35%)
CMYKcmyk(28.4%, 84.1%, 0%, 65.5%)
CIE-LABlab(15.88, 36.05, -33.50)
CIE-LCHlch(15.88, 49.21, 317.10°)
OKLaboklab(29.11% 0.0822 -0.095)
OKLCHoklch(29.11% 0.126 310.9)
XYZxyz(3.9680, 2.0755, 9.4222)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E58 #27580E
analogous
#1A0E58 #3F0E58 #580E4C
triadic
#3F0E58 #583F0E #0E583F
tetradic
#3F0E58 #581A0E #27580E #0E4C58
square
#3F0E58 #581A0E #27580E #0E4C58
split-complementary
#3F0E58 #4C580E #0E581A
monochromatic
#13041A #190623 #3F0E58 #65168D #8B1FC2

Accessibility & contrast

On white

14.84
#3F0E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3F0E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0E58
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E58#FFFFFF#000000##FFFFFF
##3F0E581.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#3C2033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f0e58;
/* rgb */ color: rgb(63, 14, 88);
/* oklch */ color: oklch(29.1% 0.126 310.9);
Tailwind
colors: {
  custom: {
    50: '#785388',
    500: '#3f0e58',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e58;
$custom-light: #785388;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e58",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 88
  },
  "hsl": {
    "h": 279.73,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.29108,
    "c": 0.12562,
    "h": 310.9
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#3F0E58
secondary
#519230
accent
#EF3976
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0E58

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

Preview Lab → · Contrast checker → · Palette generator →

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