#3D267C#3D267C

#3D267C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.138 H 289.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#3D267C
RGBrgb(61, 38, 124)
HSLhsl(256, 53%, 32%)
HSVhsv(256, 69%, 49%)
CMYKcmyk(50.8%, 69.4%, 0%, 51.4%)
CIE-LABlab(23.11, 33.27, -45.25)
CIE-LCHlch(23.11, 56.17, 306.33°)
OKLaboklab(35.16% 0.0464 -0.1297)
OKLCHoklch(35.16% 0.138 289.7)
XYZxyz(6.2546, 3.8333, 19.4752)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D267C #657C26
analogous
#263A7C #3D267C #68267C
triadic
#3D267C #7C3D26 #267C3D
tetradic
#3D267C #7C263A #657C26 #267C68
square
#3D267C #7C263A #657C26 #267C68
split-complementary
#3D267C #7C6826 #3A7C26
monochromatic
#0F091E #26184D #3D267C #5434AB #7252CA

Accessibility & contrast

On white

11.89
#3D267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D267C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D267C#FFFFFF#000000##FFFFFF
##3D267C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#283B4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d267c;
/* rgb */ color: rgb(61, 38, 124);
/* oklch */ color: oklch(35.2% 0.138 289.7);
Tailwind
colors: {
  custom: {
    50: '#7962a3',
    500: '#3d267c',
    950: '#000000',
  },
}
SCSS
$custom: #3d267c;
$custom-light: #7962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d267c",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 256.047,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35159,
    "c": 0.13777,
    "h": 289.7
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#3D267C
secondary
#95AE50
accent
#DC4BB6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3D267C

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

Preview Lab → · Contrast checker → · Palette generator →

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