#3F125F#3F125F

#3F125F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.128 H 306.6°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#3F125F
RGBrgb(63, 18, 95)
HSLhsl(275, 68%, 22%)
HSVhsv(275, 81%, 37%)
CMYKcmyk(33.7%, 81.1%, 0%, 62.7%)
CIE-LABlab(17.06, 36.08, -36.26)
CIE-LCHlch(17.06, 51.15, 314.85°)
OKLaboklab(30.13% 0.0767 -0.1031)
OKLCHoklch(30.13% 0.128 306.6)
XYZxyz(4.3313, 2.3156, 11.0430)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F125F #325F12
analogous
#19125F #3F125F #5F1259
triadic
#3F125F #5F3F12 #125F3F
tetradic
#3F125F #5F1912 #325F12 #12595F
square
#3F125F #5F1912 #325F12 #12595F
split-complementary
#3F125F #595F12 #125F19
monochromatic
#11051A #1D082C #3F125F #611C92 #8325C6

Accessibility & contrast

On white

14.35
#3F125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3F125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F125F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F125F#FFFFFF#000000##FFFFFF
##3F125F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#392538
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f125f;
/* rgb */ color: rgb(63, 18, 95);
/* oklch */ color: oklch(30.1% 0.128 306.6);
Tailwind
colors: {
  custom: {
    50: '#78558d',
    500: '#3f125f',
    950: '#000000',
  },
}
SCSS
$custom: #3f125f;
$custom-light: #78558d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f125f",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 275.065,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30129,
    "c": 0.12849,
    "h": 306.6
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#3F125F
secondary
#5E9736
accent
#EB3D85
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F125F

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

Preview Lab → · Contrast checker → · Palette generator →

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