#261D43#261D43

#261D43 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.3% C 0.069 H 291.9°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#261D43
RGBrgb(38, 29, 67)
HSLhsl(254, 40%, 19%)
HSVhsv(254, 57%, 26%)
CMYKcmyk(43.3%, 56.7%, 0%, 73.7%)
CIE-LABlab(13.80, 15.13, -22.63)
CIE-LCHlch(13.80, 27.22, 303.78°)
OKLaboklab(26.31% 0.0257 -0.064)
OKLCHoklch(26.31% 0.069 291.9)
XYZxyz(2.2515, 1.6960, 5.5178)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D43 #3A431D
analogous
#1D2743 #261D43 #391D43
triadic
#261D43 #43261D #1D4326
tetradic
#261D43 #431D27 #3A431D #1D4339
square
#261D43 #431D27 #3A431D #1D4339
split-complementary
#261D43 #43391D #27431D
monochromatic
#0C0915 #0E0B18 #261D43 #3E2F6E #564298

Accessibility & contrast

On white

15.68
#261D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D43
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D43#FFFFFF#000000##FFFFFF
##261D431.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2444
Deuteranopia (green-blind)
#0F2242
Tritanopia (blue-blind)
#1F252C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261d43;
/* rgb */ color: rgb(38, 29, 67);
/* oklch */ color: oklch(26.3% 0.069 291.9);
Tailwind
colors: {
  custom: {
    50: '#625977',
    500: '#261d43',
    950: '#000000',
  },
}
SCSS
$custom: #261d43;
$custom-light: #625977;
$custom-dark: #000000;
JSON
{
  "hex": "#261d43",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 254.211,
    "s": 39.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2631,
    "c": 0.069,
    "h": 291.9
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#261D43
secondary
#6C7844
accent
#CF58B3
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261D43

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

Preview Lab → · Contrast checker → · Palette generator →

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