#261F48#261F48

#261F48 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.1% C 0.074 H 288.3°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#261F48
RGBrgb(38, 31, 72)
HSLhsl(250, 40%, 20%)
HSVhsv(250, 57%, 28%)
CMYKcmyk(47.2%, 56.9%, 0%, 71.8%)
CIE-LABlab(14.73, 15.40, -24.61)
CIE-LCHlch(14.73, 29.03, 302.04°)
OKLaboklab(27.12% 0.0232 -0.0698)
OKLCHoklch(27.12% 0.074 288.3)
XYZxyz(2.4587, 1.8598, 6.3591)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F48 #41481F
analogous
#1F2C48 #261F48 #3A1F48
triadic
#261F48 #48261F #1F4826
tetradic
#261F48 #481F2C #41481F #1F483A
square
#261F48 #481F2C #41481F #1F483A
split-complementary
#261F48 #483A1F #2C481F
monochromatic
#0B0915 #0F0D1D #261F48 #3D3173 #53449E

Accessibility & contrast

On white

15.31
#261F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F48
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F48#FFFFFF#000000##FFFFFF
##261F481.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2649
Deuteranopia (green-blind)
#0D2447
Tritanopia (blue-blind)
#1C2830
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261f48;
/* rgb */ color: rgb(38, 31, 72);
/* oklch */ color: oklch(27.1% 0.074 288.3);
Tailwind
colors: {
  custom: {
    50: '#635a7b',
    500: '#261f48',
    950: '#000000',
  },
}
SCSS
$custom: #261f48;
$custom-light: #635a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#261f48",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 250.244,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2712,
    "c": 0.07359,
    "h": 288.3
  },
  "luminance": 0.0186
}

Semantic roles & 50–950 ramp

primary
#261F48
secondary
#737D46
accent
#D058BB
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#050409
muted
#7A797B

Preview Lab

Preview with #261F48

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

Preview Lab → · Contrast checker → · Palette generator →

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