#261D4D#261D4D

#261D4D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.085 H 288.0°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#261D4D
RGBrgb(38, 29, 77)
HSLhsl(251, 45%, 21%)
HSVhsv(251, 62%, 30%)
CMYKcmyk(50.6%, 62.3%, 0%, 69.8%)
CIE-LABlab(14.55, 18.55, -28.34)
CIE-LCHlch(14.55, 33.87, 303.20°)
OKLaboklab(27.1% 0.0262 -0.0808)
OKLCHoklch(27.1% 0.085 288)
XYZxyz(2.5779, 1.8265, 7.2365)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D4D #444D1D
analogous
#1D2C4D #261D4D #3E1D4D
triadic
#261D4D #4D261D #1D4D26
tetradic
#261D4D #4D1D2C #444D1D #1D4D3E
square
#261D4D #4D1D2C #444D1D #1D4D3E
split-complementary
#261D4D #4D3E1D #2C4D1D
monochromatic
#0B0816 #100C21 #261D4D #3C2E79 #523EA6

Accessibility & contrast

On white

15.38
#261D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D4D
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D4D#FFFFFF#000000##FFFFFF
##261D4D1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#03234C
Tritanopia (blue-blind)
#1A2831
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261d4d;
/* rgb */ color: rgb(38, 29, 77);
/* oklch */ color: oklch(27.1% 0.085 288.0);
Tailwind
colors: {
  custom: {
    50: '#64597f',
    500: '#261d4d',
    950: '#000000',
  },
}
SCSS
$custom: #261d4d;
$custom-light: #64597f;
$custom-dark: #000000;
JSON
{
  "hex": "#261d4d",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 251.25,
    "s": 45.283,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27103,
    "c": 0.08498,
    "h": 288
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#261D4D
secondary
#768244
accent
#D553BD
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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