#261D4F#261D4F

#261D4F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.3% C 0.088 H 287.3°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#261D4F
RGBrgb(38, 29, 79)
HSLhsl(251, 46%, 21%)
HSVhsv(251, 63%, 31%)
CMYKcmyk(51.9%, 63.3%, 0%, 69%)
CIE-LABlab(14.71, 19.24, -29.45)
CIE-LCHlch(14.71, 35.18, 303.16°)
OKLaboklab(27.27% 0.0262 -0.0841)
OKLCHoklch(27.27% 0.088 287.3)
XYZxyz(2.6496, 1.8552, 7.6141)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D4F #464F1D
analogous
#1D2D4F #261D4F #3F1D4F
triadic
#261D4F #4F261D #1D4F26
tetradic
#261D4F #4F1D2D #464F1D #1D4F3F
square
#261D4F #4F1D2D #464F1D #1D4F3F
split-complementary
#261D4F #4F3F1D #2D4F1D
monochromatic
#0B0816 #100D22 #261D4F #3C2D7C #513EA9

Accessibility & contrast

On white

15.32
#261D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#261D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D4F
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D4F#FFFFFF#000000##FFFFFF
##261D4F1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00244E
Tritanopia (blue-blind)
#182832
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261d4f;
/* rgb */ color: rgb(38, 29, 79);
/* oklch */ color: oklch(27.3% 0.088 287.3);
Tailwind
colors: {
  custom: {
    50: '#645981',
    500: '#261d4f',
    950: '#000000',
  },
}
SCSS
$custom: #261d4f;
$custom-light: #645981;
$custom-dark: #000000;
JSON
{
  "hex": "#261d4f",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 250.8,
    "s": 46.296,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27271,
    "c": 0.0881,
    "h": 287.3
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#261D4F
secondary
#798444
accent
#D652BE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261D4F

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

Preview Lab → · Contrast checker → · Palette generator →

#261D4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva