#3F248E#3F248E

#3F248E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.163 H 287.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#3F248E
RGBrgb(63, 36, 142)
HSLhsl(255, 60%, 35%)
HSVhsv(255, 75%, 56%)
CMYKcmyk(55.6%, 74.6%, 0%, 44.3%)
CIE-LABlab(24.55, 40.27, -54.19)
CIE-LCHlch(24.55, 67.51, 306.62°)
OKLaboklab(36.74% 0.0478 -0.1559)
OKLCHoklch(36.74% 0.163 287.1)
XYZxyz(7.5618, 4.2711, 26.0119)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F248E #738E24
analogous
#243E8E #3F248E #74248E
triadic
#3F248E #8E3F24 #248E3F
tetradic
#3F248E #8E243E #738E24 #248E74
square
#3F248E #8E243E #738E24 #248E74
split-complementary
#3F248E #8E7424 #3E8E24
monochromatic
#140B2C #29185D #3F248E #5530BF #7858D5

Accessibility & contrast

On white

11.32
#3F248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3F248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F248E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F248E#FFFFFF#000000##FFFFFF
##3F248E1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#1E4157
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f248e;
/* rgb */ color: rgb(63, 36, 142);
/* oklch */ color: oklch(36.7% 0.163 287.1);
Tailwind
colors: {
  custom: {
    50: '#7d62b0',
    500: '#3f248e',
    950: '#000000',
  },
}
SCSS
$custom: #3f248e;
$custom-light: #7d62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f248e",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 255.283,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36737,
    "c": 0.16303,
    "h": 287.1
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#3F248E
secondary
#9FB955
accent
#E345BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F248E

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

Preview Lab → · Contrast checker → · Palette generator →

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