#3F185D#3F185D

#3F185D is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.7% C 0.118 H 306.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#3F185D
RGBrgb(63, 24, 93)
HSLhsl(274, 59%, 23%)
HSVhsv(274, 74%, 36%)
CMYKcmyk(32.3%, 74.2%, 0%, 63.5%)
CIE-LABlab(17.92, 32.67, -33.54)
CIE-LCHlch(17.92, 46.82, 314.24°)
OKLaboklab(30.68% 0.0704 -0.0952)
OKLCHoklch(30.68% 0.118 306.5)
XYZxyz(4.3519, 2.5004, 10.6072)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F185D #365D18
analogous
#1C185D #3F185D #5D1858
triadic
#3F185D #5D3F18 #185D3F
tetradic
#3F185D #5D1C18 #365D18 #18585D
square
#3F185D #5D1C18 #365D18 #18585D
split-complementary
#3F185D #585D18 #185D1C
monochromatic
#100618 #1E0B2C #3F185D #60258E #8131BE

Accessibility & contrast

On white

14.00
#3F185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3F185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F185D
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F185D#FFFFFF#000000##FFFFFF
##3F185D1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#042C5C
Tritanopia (blue-blind)
#3A2838
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f185d;
/* rgb */ color: rgb(63, 24, 93);
/* oklch */ color: oklch(30.7% 0.118 306.5);
Tailwind
colors: {
  custom: {
    50: '#77588b',
    500: '#3f185d',
    950: '#000000',
  },
}
SCSS
$custom: #3f185d;
$custom-light: #77588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f185d",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 273.913,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30684,
    "c": 0.11838,
    "h": 306.5
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#3F185D
secondary
#63933D
accent
#E2468A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F185D

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

Preview Lab → · Contrast checker → · Palette generator →

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