#260438#260438

#260438 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.096 H 310.4°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#260438
RGBrgb(38, 4, 56)
HSLhsl(279, 87%, 12%)
HSVhsv(279, 93%, 22%)
CMYKcmyk(32.1%, 92.9%, 0%, 78%)
CIE-LABlab(7.09, 27.46, -25.61)
CIE-LCHlch(7.09, 37.55, 316.99°)
OKLaboklab(21.13% 0.0621 -0.0729)
OKLCHoklch(21.13% 0.096 310.4)
XYZxyz(1.5564, 0.7845, 3.8100)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260438 #163804
analogous
#0C0438 #260438 #380430
triadic
#260438 #382604 #043826
tetradic
#260438 #380C04 #163804 #043038
square
#260438 #380C04 #163804 #043038
split-complementary
#260438 #303804 #04380C
monochromatic
#13021D #13021D #260438 #4D0871 #740CAA

Accessibility & contrast

On white

18.15
#260438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#260438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260438
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260438#FFFFFF#000000##FFFFFF
##2604381.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#23111E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #260438;
/* rgb */ color: rgb(38, 4, 56);
/* oklch */ color: oklch(21.1% 0.096 310.4);
Tailwind
colors: {
  custom: {
    50: '#63486f',
    500: '#260438',
    950: '#000000',
  },
}
SCSS
$custom: #260438;
$custom-light: #63486f;
$custom-dark: #000000;
JSON
{
  "hex": "#260438",
  "rgb": {
    "r": 38,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 279.231,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2113,
    "c": 0.09578,
    "h": 310.4
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#260438
secondary
#3E7A1E
accent
#FD2B74
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #260438

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

Preview Lab → · Contrast checker → · Palette generator →

#260438 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva