#261E4E#261E4E

#261E4E is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.4% C 0.085 H 287.0°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#261E4E
RGBrgb(38, 30, 78)
HSLhsl(250, 44%, 21%)
HSVhsv(250, 62%, 31%)
CMYKcmyk(51.3%, 61.5%, 0%, 69.4%)
CIE-LABlab(14.90, 18.19, -28.46)
CIE-LCHlch(14.90, 33.77, 302.59°)
OKLaboklab(27.39% 0.0249 -0.0812)
OKLCHoklch(27.39% 0.085 287)
XYZxyz(2.6384, 1.8906, 7.4321)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E4E #464E1E
analogous
#1E2E4E #261E4E #3E1E4E
triadic
#261E4E #4E261E #1E4E26
tetradic
#261E4E #4E1E2E #464E1E #1E4E3E
square
#261E4E #4E1E2E #464E1E #1E4E3E
split-complementary
#261E4E #4E3E1E #2E4E1E
monochromatic
#0B0916 #100D22 #261E4E #3C2F7A #5140A6

Accessibility & contrast

On white

15.24
#261E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#261E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E4E
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E4E#FFFFFF#000000##FFFFFF
##261E4E1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032750
Deuteranopia (green-blind)
#03244D
Tritanopia (blue-blind)
#192932
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261e4e;
/* rgb */ color: rgb(38, 30, 78);
/* oklch */ color: oklch(27.4% 0.085 287.0);
Tailwind
colors: {
  custom: {
    50: '#645a80',
    500: '#261e4e',
    950: '#000000',
  },
}
SCSS
$custom: #261e4e;
$custom-light: #645a80;
$custom-dark: #000000;
JSON
{
  "hex": "#261e4e",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 250,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27389,
    "c": 0.08489,
    "h": 287
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#261E4E
secondary
#798345
accent
#D454BF
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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