#3D254F#3D254F

#3D254F is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.5% C 0.077 H 309.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#3D254F
RGBrgb(61, 37, 79)
HSLhsl(274, 36%, 23%)
HSVhsv(274, 53%, 31%)
CMYKcmyk(22.8%, 53.2%, 0%, 69%)
CIE-LABlab(19.56, 20.62, -21.55)
CIE-LCHlch(19.56, 29.82, 313.73°)
OKLaboklab(31.5% 0.0487 -0.0602)
OKLCHoklch(31.5% 0.077 309)
XYZxyz(3.9970, 2.8798, 7.7409)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D254F #374F25
analogous
#28254F #3D254F #4F254C
triadic
#3D254F #4F3D25 #254F3D
tetradic
#3D254F #4F2825 #374F25 #254C4F
square
#3D254F #4F2825 #374F25 #254C4F
split-complementary
#3D254F #4C4F25 #254F28
monochromatic
#100A15 #1D1125 #3D254F #5D3979 #7D4CA2

Accessibility & contrast

On white

13.32
#3D254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3D254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D254F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D254F#FFFFFF#000000##FFFFFF
##3D254F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#21304E
Tritanopia (blue-blind)
#3B2C36
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d254f;
/* rgb */ color: rgb(61, 37, 79);
/* oklch */ color: oklch(31.5% 0.077 309.0);
Tailwind
colors: {
  custom: {
    50: '#746080',
    500: '#3d254f',
    950: '#000000',
  },
}
SCSS
$custom: #3d254f;
$custom-light: #746080;
$custom-dark: #000000;
JSON
{
  "hex": "#3d254f",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 274.286,
    "s": 36.207,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31503,
    "c": 0.07742,
    "h": 309
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#3D254F
secondary
#64824E
accent
#CC5C8C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #3D254F

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

Preview Lab → · Contrast checker → · Palette generator →

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