#3F185B#3F185B

#3F185B is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.116 H 307.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#3F185B
RGBrgb(63, 24, 91)
HSLhsl(275, 58%, 23%)
HSVhsv(275, 74%, 36%)
CMYKcmyk(30.8%, 73.6%, 0%, 64.3%)
CIE-LABlab(17.76, 32.15, -32.47)
CIE-LCHlch(17.76, 45.69, 314.72°)
OKLaboklab(30.52% 0.0707 -0.092)
OKLCHoklch(30.52% 0.116 307.5)
XYZxyz(4.2645, 2.4654, 10.1467)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F185B #345B18
analogous
#1D185B #3F185B #5B1856
triadic
#3F185B #5B3F18 #185B3F
tetradic
#3F185B #5B1D18 #345B18 #18565B
square
#3F185B #5B1D18 #345B18 #18565B
split-complementary
#3F185B #565B18 #185B1D
monochromatic
#110618 #1D0B2B #3F185B #61258B #8232BC

Accessibility & contrast

On white

14.07
#3F185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3F185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F185B
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F185B#FFFFFF#000000##FFFFFF
##3F185B1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#072C5A
Tritanopia (blue-blind)
#3A2737
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f185b;
/* rgb */ color: rgb(63, 24, 91);
/* oklch */ color: oklch(30.5% 0.116 307.5);
Tailwind
colors: {
  custom: {
    50: '#77588a',
    500: '#3f185b',
    950: '#000000',
  },
}
SCSS
$custom: #3f185b;
$custom-light: #77588a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f185b",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 274.925,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3052,
    "c": 0.11603,
    "h": 307.5
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#3F185B
secondary
#60923D
accent
#E14687
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F185B

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

Preview Lab → · Contrast checker → · Palette generator →

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