#261D52#261D52

#261D52 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.5% C 0.093 H 286.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#261D52
RGBrgb(38, 29, 82)
HSLhsl(250, 48%, 22%)
HSVhsv(250, 65%, 32%)
CMYKcmyk(53.7%, 64.6%, 0%, 67.8%)
CIE-LABlab(14.95, 20.29, -31.10)
CIE-LCHlch(14.95, 37.13, 303.12°)
OKLaboklab(27.53% 0.0262 -0.0889)
OKLCHoklch(27.53% 0.093 286.4)
XYZxyz(2.7612, 1.8999, 8.2022)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D52 #49521D
analogous
#1D2F52 #261D52 #411D52
triadic
#261D52 #52261D #1D5226
tetradic
#261D52 #521D2F #49521D #1D5241
square
#261D52 #521D2F #49521D #1D5241
split-complementary
#261D52 #52411D #2F521D
monochromatic
#0A0817 #110D25 #261D52 #3B2D7F #503DAC

Accessibility & contrast

On white

15.22
#261D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#261D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D52
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D52#FFFFFF#000000##FFFFFF
##261D521.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#172934
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261d52;
/* rgb */ color: rgb(38, 29, 82);
/* oklch */ color: oklch(27.5% 0.093 286.4);
Tailwind
colors: {
  custom: {
    50: '#655983',
    500: '#261d52',
    950: '#000000',
  },
}
SCSS
$custom: #261d52;
$custom-light: #655983;
$custom-dark: #000000;
JSON
{
  "hex": "#261d52",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 250.189,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27529,
    "c": 0.09271,
    "h": 286.4
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#261D52
secondary
#7C8744
accent
#D750C0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261D52

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

Preview Lab → · Contrast checker → · Palette generator →

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