#261E40#261E40

#261E40 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.3% C 0.062 H 292.4°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#261E40
RGBrgb(38, 30, 64)
HSLhsl(254, 36%, 18%)
HSVhsv(254, 53%, 25%)
CMYKcmyk(40.6%, 53.1%, 0%, 74.9%)
CIE-LABlab(13.89, 13.42, -20.39)
CIE-LCHlch(13.89, 24.41, 303.35°)
OKLaboklab(26.31% 0.0237 -0.0575)
OKLCHoklch(26.31% 0.062 292.4)
XYZxyz(2.1888, 1.7107, 5.0644)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E40 #38401E
analogous
#1E2740 #261E40 #371E40
triadic
#261E40 #40261E #1E4026
tetradic
#261E40 #401E27 #38401E #1E4037
square
#261E40 #401E27 #38401E #1E4037
split-complementary
#261E40 #40371E #27401E
monochromatic
#0C0A15 #0D0A16 #261E40 #3F326A #574593

Accessibility & contrast

On white

15.65
#261E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#261E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E40
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E40#FFFFFF#000000##FFFFFF
##261E401.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#13233F
Tritanopia (blue-blind)
#20252B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261e40;
/* rgb */ color: rgb(38, 30, 64);
/* oklch */ color: oklch(26.3% 0.062 292.4);
Tailwind
colors: {
  custom: {
    50: '#625975',
    500: '#261e40',
    950: '#000000',
  },
}
SCSS
$custom: #261e40;
$custom-light: #625975;
$custom-dark: #000000;
JSON
{
  "hex": "#261e40",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 254.118,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26308,
    "c": 0.0622,
    "h": 292.4
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#261E40
secondary
#697445
accent
#CC5CB2
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261E40

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

Preview Lab → · Contrast checker → · Palette generator →

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