#3D248B#3D248B

#3D248B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.159 H 286.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#3D248B
RGBrgb(61, 36, 139)
HSLhsl(255, 59%, 34%)
HSVhsv(255, 74%, 55%)
CMYKcmyk(56.1%, 74.1%, 0%, 45.5%)
CIE-LABlab(24.06, 39.04, -53.14)
CIE-LCHlch(24.06, 65.94, 306.31°)
OKLaboklab(36.25% 0.0455 -0.1529)
OKLCHoklch(36.25% 0.159 286.6)
XYZxyz(7.2142, 4.1175, 24.8357)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D248B #728B24
analogous
#243F8B #3D248B #71248B
triadic
#3D248B #8B3D24 #248B3D
tetradic
#3D248B #8B243F #728B24 #248B71
square
#3D248B #8B243F #728B24 #248B71
split-complementary
#3D248B #8B7124 #3F8B24
monochromatic
#120B2A #28175A #3D248B #5231BC #7556D3

Accessibility & contrast

On white

11.52
#3D248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D248B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D248B#FFFFFF#000000##FFFFFF
##3D248B1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#1B4055
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d248b;
/* rgb */ color: rgb(61, 36, 139);
/* oklch */ color: oklch(36.3% 0.159 286.6);
Tailwind
colors: {
  custom: {
    50: '#7b61ae',
    500: '#3d248b',
    950: '#000000',
  },
}
SCSS
$custom: #3d248b;
$custom-light: #7b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3d248b",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 254.563,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.15946,
    "h": 286.6
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#3D248B
secondary
#9FB753
accent
#E246BC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D248B

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

Preview Lab → · Contrast checker → · Palette generator →

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