#261E4D#261E4D

#261E4D is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.3% C 0.083 H 287.4°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#261E4D
RGBrgb(38, 30, 77)
HSLhsl(250, 44%, 21%)
HSVhsv(250, 61%, 30%)
CMYKcmyk(50.6%, 61%, 0%, 69.8%)
CIE-LABlab(14.82, 17.85, -27.90)
CIE-LCHlch(14.82, 33.12, 302.61°)
OKLaboklab(27.31% 0.0249 -0.0795)
OKLCHoklch(27.31% 0.083 287.4)
XYZxyz(2.6028, 1.8763, 7.2448)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E4D #454D1E
analogous
#1E2D4D #261E4D #3D1E4D
triadic
#261E4D #4D261E #1E4D26
tetradic
#261E4D #4D1E2D #454D1E #1E4D3D
square
#261E4D #4D1E2D #454D1E #1E4D3D
split-complementary
#261E4D #4D3D1E #2D4D1E
monochromatic
#0B0916 #100D21 #261E4D #3C2F79 #5140A5

Accessibility & contrast

On white

15.27
#261E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261E4D
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E4D#FFFFFF#000000##FFFFFF
##261E4D1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05264F
Deuteranopia (green-blind)
#05244C
Tritanopia (blue-blind)
#1A2832
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261e4d;
/* rgb */ color: rgb(38, 30, 77);
/* oklch */ color: oklch(27.3% 0.083 287.4);
Tailwind
colors: {
  custom: {
    50: '#645a7f',
    500: '#261e4d',
    950: '#000000',
  },
}
SCSS
$custom: #261e4d;
$custom-light: #645a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#261e4d",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 250.213,
    "s": 43.925,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27307,
    "c": 0.08332,
    "h": 287.4
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#261E4D
secondary
#788245
accent
#D454BE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #261E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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