#3D269F#3D269F

#3D269F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.182 H 282.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3D269F
RGBrgb(61, 38, 159)
HSLhsl(251, 61%, 39%)
HSVhsv(251, 76%, 62%)
CMYKcmyk(61.6%, 76.1%, 0%, 37.6%)
CIE-LABlab(26.39, 44.10, -61.62)
CIE-LCHlch(26.39, 75.77, 305.59°)
OKLaboklab(38.5% 0.039 -0.1777)
OKLCHoklch(38.5% 0.182 282.4)
XYZxyz(8.8736, 4.8809, 33.2687)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D269F #889F26
analogous
#264B9F #3D269F #79269F
triadic
#3D269F #9F3D26 #269F3D
tetradic
#3D269F #9F264B #889F26 #269F79
square
#3D269F #9F264B #889F26 #269F79
split-complementary
#3D269F #9F7926 #4B9F26
monochromatic
#170E3C #2A1A6E #3D269F #5134CE #7B65DA

Accessibility & contrast

On white

10.63
#3D269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3D269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D269F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D269F#FFFFFF#000000##FFFFFF
##3D269F1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d269f;
/* rgb */ color: rgb(61, 38, 159);
/* oklch */ color: oklch(38.5% 0.182 282.4);
Tailwind
colors: {
  custom: {
    50: '#7f63bd',
    500: '#3d269f',
    950: '#000000',
  },
}
SCSS
$custom: #3d269f;
$custom-light: #7f63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d269f",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 251.405,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.1819,
    "h": 282.4
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#3D269F
secondary
#AEC061
accent
#E543C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D269F

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

Preview Lab → · Contrast checker → · Palette generator →

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