#3F0F74#3F0F74

#3F0F74 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.154 H 298.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#3F0F74
RGBrgb(63, 15, 116)
HSLhsl(269, 77%, 26%)
HSVhsv(269, 87%, 45%)
CMYKcmyk(45.7%, 87.1%, 0%, 54.5%)
CIE-LABlab(18.62, 42.64, -47.47)
CIE-LCHlch(18.62, 63.81, 311.94°)
OKLaboklab(31.82% 0.0725 -0.136)
OKLCHoklch(31.82% 0.154 298.1)
XYZxyz(5.3723, 2.6593, 16.7499)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F74 #44740F
analogous
#0F1174 #3F0F74 #710F74
triadic
#3F0F74 #743F0F #0F743F
tetradic
#3F0F74 #740F11 #44740F #0F7471
square
#3F0F74 #740F11 #44740F #0F7471
split-complementary
#3F0F74 #74710F #11740F
monochromatic
#0F041B #22083E #3F0F74 #5C16AA #7A1DE0

Accessibility & contrast

On white

13.71
#3F0F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3F0F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F74
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F74#FFFFFF#000000##FFFFFF
##3F0F741.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#312D43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f0f74;
/* rgb */ color: rgb(63, 15, 116);
/* oklch */ color: oklch(31.8% 0.154 298.1);
Tailwind
colors: {
  custom: {
    50: '#7b559d',
    500: '#3f0f74',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f74;
$custom-light: #7b559d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f74",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 268.515,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31823,
    "c": 0.15409,
    "h": 298.1
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#3F0F74
secondary
#72AC33
accent
#F43499
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F0F74

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

Preview Lab → · Contrast checker → · Palette generator →

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