#261D45#261D45

#261D45 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.5% C 0.072 H 291.0°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#261D45
RGBrgb(38, 29, 69)
HSLhsl(254, 41%, 19%)
HSVhsv(254, 58%, 27%)
CMYKcmyk(44.9%, 58%, 0%, 72.9%)
CIE-LABlab(13.95, 15.81, -23.79)
CIE-LCHlch(13.95, 28.56, 303.60°)
OKLaboklab(26.46% 0.0259 -0.0675)
OKLCHoklch(26.46% 0.072 291)
XYZxyz(2.3126, 1.7204, 5.8393)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D45 #3C451D
analogous
#1D2845 #261D45 #3A1D45
triadic
#261D45 #45261D #1D4526
tetradic
#261D45 #451D28 #3C451D #1D453A
square
#261D45 #451D28 #3C451D #1D453A
split-complementary
#261D45 #453A1D #28451D
monochromatic
#0C0916 #0E0B1A #261D45 #3E2F70 #55419B

Accessibility & contrast

On white

15.62
#261D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#261D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D45
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D45#FFFFFF#000000##FFFFFF
##261D451.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2446
Deuteranopia (green-blind)
#0D2344
Tritanopia (blue-blind)
#1E252D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261d45;
/* rgb */ color: rgb(38, 29, 69);
/* oklch */ color: oklch(26.5% 0.072 291.0);
Tailwind
colors: {
  custom: {
    50: '#635979',
    500: '#261d45',
    950: '#000000',
  },
}
SCSS
$custom: #261d45;
$custom-light: #635979;
$custom-dark: #000000;
JSON
{
  "hex": "#261d45",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 69
  },
  "hsl": {
    "h": 253.5,
    "s": 40.816,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26462,
    "c": 0.07226,
    "h": 291
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#261D45
secondary
#6E7A44
accent
#D157B5
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050309
muted
#79787B

Preview Lab

Preview with #261D45

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

Preview Lab → · Contrast checker → · Palette generator →

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