#3D267D#3D267D

#3D267D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.139 H 289.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#3D267D
RGBrgb(61, 38, 125)
HSLhsl(256, 53%, 32%)
HSVhsv(256, 70%, 49%)
CMYKcmyk(51.2%, 69.6%, 0%, 51%)
CIE-LABlab(23.20, 33.59, -45.74)
CIE-LCHlch(23.20, 56.75, 306.29°)
OKLaboklab(35.25% 0.0463 -0.1312)
OKLCHoklch(35.25% 0.139 289.4)
XYZxyz(6.3182, 3.8587, 19.8100)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D267D #667D26
analogous
#263B7D #3D267D #69267D
triadic
#3D267D #7D3D26 #267D3D
tetradic
#3D267D #7D263B #667D26 #267D69
square
#3D267D #7D263B #667D26 #267D69
split-complementary
#3D267D #7D6926 #3B7D26
monochromatic
#0F091F #26184E #3D267D #5434AC #7253CB

Accessibility & contrast

On white

11.85
#3D267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3D267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D267D
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D267D#FFFFFF#000000##FFFFFF
##3D267D1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#273C4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d267d;
/* rgb */ color: rgb(61, 38, 125);
/* oklch */ color: oklch(35.2% 0.139 289.4);
Tailwind
colors: {
  custom: {
    50: '#7962a3',
    500: '#3d267d',
    950: '#000000',
  },
}
SCSS
$custom: #3d267d;
$custom-light: #7962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d267d",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 255.862,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.13908,
    "h": 289.4
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#3D267D
secondary
#96AF50
accent
#DD4BB6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3D267D

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

Preview Lab → · Contrast checker → · Palette generator →

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