#3F185C#3F185C

#3F185C is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.117 H 307.0°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#3F185C
RGBrgb(63, 24, 92)
HSLhsl(274, 59%, 23%)
HSVhsv(274, 74%, 36%)
CMYKcmyk(31.5%, 73.9%, 0%, 63.9%)
CIE-LABlab(17.84, 32.41, -33.00)
CIE-LCHlch(17.84, 46.25, 314.48°)
OKLaboklab(30.6% 0.0706 -0.0936)
OKLCHoklch(30.6% 0.117 307)
XYZxyz(4.3079, 2.4828, 10.3754)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F185C #355C18
analogous
#1D185C #3F185C #5C1857
triadic
#3F185C #5C3F18 #185C3F
tetradic
#3F185C #5C1D18 #355C18 #18575C
square
#3F185C #5C1D18 #355C18 #18575C
split-complementary
#3F185C #575C18 #185C1D
monochromatic
#110618 #1E0B2B #3F185C #60258D #8131BD

Accessibility & contrast

On white

14.03
#3F185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F185C
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F185C#FFFFFF#000000##FFFFFF
##3F185C1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#062C5B
Tritanopia (blue-blind)
#3A2738
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f185c;
/* rgb */ color: rgb(63, 24, 92);
/* oklch */ color: oklch(30.6% 0.117 307.0);
Tailwind
colors: {
  custom: {
    50: '#77588b',
    500: '#3f185c',
    950: '#000000',
  },
}
SCSS
$custom: #3f185c;
$custom-light: #77588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f185c",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 274.412,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30601,
    "c": 0.1172,
    "h": 307
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#3F185C
secondary
#62933D
accent
#E24688
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F185C

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

Preview Lab → · Contrast checker → · Palette generator →

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