#261E45#261E45

#261E45 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 26.7% C 0.070 H 290.2°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#261E45
RGBrgb(38, 30, 69)
HSLhsl(252, 39%, 19%)
HSVhsv(252, 57%, 27%)
CMYKcmyk(44.9%, 56.5%, 0%, 72.9%)
CIE-LABlab(14.23, 15.09, -23.33)
CIE-LCHlch(14.23, 27.79, 302.90°)
OKLaboklab(26.67% 0.0244 -0.0661)
OKLCHoklch(26.67% 0.07 290.2)
XYZxyz(2.3375, 1.7702, 5.8476)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E45 #3D451E
analogous
#1E2A45 #261E45 #3A1E45
triadic
#261E45 #45261E #1E4526
tetradic
#261E45 #451E2A #3D451E #1E453A
square
#261E45 #451E2A #3D451E #1E453A
split-complementary
#261E45 #453A1E #2A451E
monochromatic
#0C0915 #0F0B1A #261E45 #3D3170 #55439A

Accessibility & contrast

On white

15.51
#261E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#261E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E45
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E45#FFFFFF#000000##FFFFFF
##261E451.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#0F2344
Tritanopia (blue-blind)
#1E262E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261e45;
/* rgb */ color: rgb(38, 30, 69);
/* oklch */ color: oklch(26.7% 0.070 290.2);
Tailwind
colors: {
  custom: {
    50: '#625a79',
    500: '#261e45',
    950: '#000000',
  },
}
SCSS
$custom: #261e45;
$custom-light: #625a79;
$custom-dark: #000000;
JSON
{
  "hex": "#261e45",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 252.308,
    "s": 39.394,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26675,
    "c": 0.07046,
    "h": 290.2
  },
  "luminance": 0.0177
}

Semantic roles & 50–950 ramp

primary
#261E45
secondary
#6F7A45
accent
#CF59B7
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050309
muted
#79787B

Preview Lab

Preview with #261E45

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

Preview Lab → · Contrast checker → · Palette generator →

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