#3D125D#3D125D

#3D125D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.126 H 306.1°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#3D125D
RGBrgb(61, 18, 93)
HSLhsl(274, 68%, 22%)
HSVhsv(274, 81%, 36%)
CMYKcmyk(34.4%, 80.6%, 0%, 63.5%)
CIE-LABlab(16.58, 35.16, -35.73)
CIE-LCHlch(16.58, 50.13, 314.54°)
OKLaboklab(29.67% 0.074 -0.1016)
OKLCHoklch(29.67% 0.126 306.1)
XYZxyz(4.1161, 2.2151, 10.5645)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D125D #325D12
analogous
#18125D #3D125D #5D1258
triadic
#3D125D #5D3D12 #125D3D
tetradic
#3D125D #5D1812 #325D12 #12585D
square
#3D125D #5D1812 #325D12 #12585D
split-complementary
#3D125D #585D12 #125D18
monochromatic
#11051A #1B082A #3D125D #5F1C90 #8026C4

Accessibility & contrast

On white

14.55
#3D125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3D125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D125D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D125D#FFFFFF#000000##FFFFFF
##3D125D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#372537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d125d;
/* rgb */ color: rgb(61, 18, 93);
/* oklch */ color: oklch(29.7% 0.126 306.1);
Tailwind
colors: {
  custom: {
    50: '#76558b',
    500: '#3d125d',
    950: '#000000',
  },
}
SCSS
$custom: #3d125d;
$custom-light: #76558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d125d",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 274.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.12573,
    "h": 306.1
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#3D125D
secondary
#5E9535
accent
#EA3D87
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D125D

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

Preview Lab → · Contrast checker → · Palette generator →

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