#3F0F67#3F0F67

#3F0F67 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.140 H 303.3°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#3F0F67
RGBrgb(63, 15, 103)
HSLhsl(273, 75%, 23%)
HSVhsv(273, 85%, 40%)
CMYKcmyk(38.8%, 85.4%, 0%, 59.6%)
CIE-LABlab(17.36, 39.33, -41.08)
CIE-LCHlch(17.36, 56.87, 313.76°)
OKLaboklab(30.56% 0.0771 -0.1172)
OKLCHoklch(30.56% 0.14 303.3)
XYZxyz(4.6683, 2.3777, 13.0423)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F67 #37670F
analogous
#130F67 #3F0F67 #670F63
triadic
#3F0F67 #673F0F #0F673F
tetradic
#3F0F67 #67130F #37670F #0F6367
square
#3F0F67 #67130F #37670F #0F6367
split-complementary
#3F0F67 #63670F #0F6713
monochromatic
#10041B #1E0732 #3F0F67 #60179C #801FD2

Accessibility & contrast

On white

14.23
#3F0F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3F0F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F67
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F67#FFFFFF#000000##FFFFFF
##3F0F671.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#37273C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f0f67;
/* rgb */ color: rgb(63, 15, 103);
/* oklch */ color: oklch(30.6% 0.140 303.3);
Tailwind
colors: {
  custom: {
    50: '#795593',
    500: '#3f0f67',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f67;
$custom-light: #795593;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f67",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 272.727,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30557,
    "c": 0.14031,
    "h": 303.3
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#3F0F67
secondary
#64A032
accent
#F1378B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F0F67

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

Preview Lab → · Contrast checker → · Palette generator →

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