#261A45#261A45

#261A45 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 25.8% C 0.078 H 293.0°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#261A45
RGBrgb(38, 26, 69)
HSLhsl(257, 45%, 19%)
HSVhsv(257, 62%, 27%)
CMYKcmyk(44.9%, 62.3%, 0%, 72.9%)
CIE-LABlab(13.11, 17.93, -25.13)
CIE-LCHlch(13.11, 30.87, 305.51°)
OKLaboklab(25.84% 0.0304 -0.0714)
OKLCHoklch(25.84% 0.078 293)
XYZxyz(2.2426, 1.5805, 5.8160)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A45 #39451A
analogous
#1A2345 #261A45 #3B1A45
triadic
#261A45 #45261A #1A4526
tetradic
#261A45 #451A23 #39451A #1A453B
square
#261A45 #451A23 #39451A #1A453B
split-complementary
#261A45 #453B1A #23451A
monochromatic
#0C0816 #0E0919 #261A45 #3E2B71 #573B9E

Accessibility & contrast

On white

15.96
#261A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#261A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A45
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A45#FFFFFF#000000##FFFFFF
##261A451.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052246
Deuteranopia (green-blind)
#082144
Tritanopia (blue-blind)
#1E232C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #261a45;
/* rgb */ color: rgb(38, 26, 69);
/* oklch */ color: oklch(25.8% 0.078 293.0);
Tailwind
colors: {
  custom: {
    50: '#635779',
    500: '#261a45',
    950: '#000000',
  },
}
SCSS
$custom: #261a45;
$custom-light: #635779;
$custom-dark: #000000;
JSON
{
  "hex": "#261a45",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 256.744,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25842,
    "c": 0.07759,
    "h": 293
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#261A45
secondary
#6A7B40
accent
#D553B1
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#050309
muted
#7A787B

Preview Lab

Preview with #261A45

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

Preview Lab → · Contrast checker → · Palette generator →

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