#261A40#261A40

#261A40 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.070 H 295.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#261A40
RGBrgb(38, 26, 64)
HSLhsl(259, 42%, 18%)
HSVhsv(259, 59%, 25%)
CMYKcmyk(40.6%, 59.4%, 0%, 74.9%)
CIE-LABlab(12.74, 16.28, -22.22)
CIE-LCHlch(12.74, 27.55, 306.23°)
OKLaboklab(25.45% 0.0301 -0.0629)
OKLCHoklch(25.45% 0.07 295.6)
XYZxyz(2.0939, 1.5210, 5.0328)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A40 #34401A
analogous
#1A2140 #261A40 #391A40
triadic
#261A40 #40261A #1A4026
tetradic
#261A40 #401A21 #34401A #1A4039
square
#261A40 #401A21 #34401A #1A4039
split-complementary
#261A40 #40391A #21401A
monochromatic
#0D0916 #0D0916 #261A40 #402C6C #5A3D97

Accessibility & contrast

On white

16.10
#261A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#261A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A40
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A40#FFFFFF#000000##FFFFFF
##261A401.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2141
Deuteranopia (green-blind)
#0E203F
Tritanopia (blue-blind)
#20222A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #261a40;
/* rgb */ color: rgb(38, 26, 64);
/* oklch */ color: oklch(25.4% 0.070 295.6);
Tailwind
colors: {
  custom: {
    50: '#625675',
    500: '#261a40',
    950: '#000000',
  },
}
SCSS
$custom: #261a40;
$custom-light: #625675;
$custom-dark: #000000;
JSON
{
  "hex": "#261a40",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 258.947,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25449,
    "c": 0.0697,
    "h": 295.6
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#261A40
secondary
#657640
accent
#D256AB
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261A40

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

Preview Lab → · Contrast checker → · Palette generator →

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