#3F125A#3F125A

#3F125A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.123 H 309.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#3F125A
RGBrgb(63, 18, 90)
HSLhsl(278, 67%, 21%)
HSVhsv(278, 80%, 35%)
CMYKcmyk(30%, 80%, 0%, 64.7%)
CIE-LABlab(16.64, 34.83, -33.61)
CIE-LCHlch(16.64, 48.40, 316.02°)
OKLaboklab(29.7% 0.0778 -0.0953)
OKLCHoklch(29.7% 0.123 309.2)
XYZxyz(4.1113, 2.2276, 9.8843)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F125A #2D5A12
analogous
#1B125A #3F125A #5A1251
triadic
#3F125A #5A3F12 #125A3F
tetradic
#3F125A #5A1B12 #2D5A12 #12515A
square
#3F125A #5A1B12 #2D5A12 #12515A
split-complementary
#3F125A #515A12 #125A1B
monochromatic
#12051A #1B0827 #3F125A #631C8D #8626C0

Accessibility & contrast

On white

14.53
#3F125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3F125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F125A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F125A#FFFFFF#000000##FFFFFF
##3F125A1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#012A58
Tritanopia (blue-blind)
#3B2335
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f125a;
/* rgb */ color: rgb(63, 18, 90);
/* oklch */ color: oklch(29.7% 0.123 309.2);
Tailwind
colors: {
  custom: {
    50: '#775589',
    500: '#3f125a',
    950: '#000000',
  },
}
SCSS
$custom: #3f125a;
$custom-light: #775589;
$custom-dark: #000000;
JSON
{
  "hex": "#3f125a",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 277.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29696,
    "c": 0.12301,
    "h": 309.2
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#3F125A
secondary
#589335
accent
#EA3E7E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F125A

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

Preview Lab → · Contrast checker → · Palette generator →

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