#3D26AF#3D26AF

#3D26AF is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.1% C 0.201 H 280.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3D26AF
RGBrgb(61, 38, 175)
HSLhsl(250, 64%, 42%)
HSVhsv(250, 78%, 69%)
CMYKcmyk(65.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(28.04, 48.96, -68.56)
CIE-LCHlch(28.04, 84.25, 305.53°)
OKLaboklab(40.14% 0.0348 -0.1979)
OKLCHoklch(40.14% 0.201 280)
XYZxyz(10.3530, 5.4726, 41.0599)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D26AF #98AF26
analogous
#2654AF #3D26AF #8226AF
triadic
#3D26AF #AF3D26 #26AF3D
tetradic
#3D26AF #AF2654 #98AF26 #26AF82
square
#3D26AF #AF2654 #98AF26 #26AF82
split-complementary
#3D26AF #AF8226 #54AF26
monochromatic
#1A104A #2B1B7D #3D26AF #573DD5 #8270E0

Accessibility & contrast

On white

10.03
#3D26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D26AF
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D26AF#FFFFFF#000000##FFFFFF
##3D26AF1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d26af;
/* rgb */ color: rgb(61, 38, 175);
/* oklch */ color: oklch(40.1% 0.201 280.0);
Tailwind
colors: {
  custom: {
    50: '#8264c8',
    500: '#3d26af',
    950: '#000000',
  },
}
SCSS
$custom: #3d26af;
$custom-light: #8264c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d26af",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 250.073,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40143,
    "c": 0.20096,
    "h": 280
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#3D26AF
secondary
#B7C76A
accent
#E740CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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