#261A4C#261A4C

#261A4C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.4% C 0.088 H 290.1°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#261A4C
RGBrgb(38, 26, 76)
HSLhsl(254, 49%, 20%)
HSVhsv(254, 66%, 30%)
CMYKcmyk(50%, 65.8%, 0%, 70.2%)
CIE-LABlab(13.67, 20.29, -29.08)
CIE-LCHlch(13.67, 35.46, 304.90°)
OKLaboklab(26.43% 0.0303 -0.083)
OKLCHoklch(26.43% 0.088 290.1)
XYZxyz(2.4729, 1.6726, 7.0286)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A4C #404C1A
analogous
#1A274C #261A4C #3F1A4C
triadic
#261A4C #4C261A #1A4C26
tetradic
#261A4C #4C1A27 #404C1A #1A4C3F
square
#261A4C #4C1A27 #404C1A #1A4C3F
split-complementary
#261A4C #4C3F1A #274C1A
monochromatic
#0B0817 #0F0A1E #261A4C #3D2A7A #5439A7

Accessibility & contrast

On white

15.74
#261A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#261A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A4C
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A4C#FFFFFF#000000##FFFFFF
##261A4C1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#1A2530
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261a4c;
/* rgb */ color: rgb(38, 26, 76);
/* oklch */ color: oklch(26.4% 0.088 290.1);
Tailwind
colors: {
  custom: {
    50: '#64577e',
    500: '#261a4c',
    950: '#000000',
  },
}
SCSS
$custom: #261a4c;
$custom-light: #64577e;
$custom-dark: #000000;
JSON
{
  "hex": "#261a4c",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 254.4,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.26427,
    "c": 0.08838,
    "h": 290.1
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#261A4C
secondary
#728240
accent
#D94FB8
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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