#25166F#25166F

#25166F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.142 H 280.6°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#25166F
RGBrgb(37, 22, 111)
HSLhsl(250, 67%, 26%)
HSVhsv(250, 80%, 44%)
CMYKcmyk(66.7%, 80.2%, 0%, 56.5%)
CIE-LABlab(16.08, 34.46, -48.53)
CIE-LCHlch(16.08, 59.52, 305.38°)
OKLaboklab(29.18% 0.0262 -0.1401)
OKLCHoklch(29.18% 0.142 280.6)
XYZxyz(3.9182, 2.1145, 15.2375)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25166F #606F16
analogous
#16336F #25166F #51166F
triadic
#25166F #6F2516 #166F25
tetradic
#25166F #6F1633 #606F16 #166F51
square
#25166F #6F1633 #606F16 #166F51
split-complementary
#25166F #6F5116 #336F16
monochromatic
#09051A #140C3C #25166F #3620A2 #472BD5

Accessibility & contrast

On white

14.76
#25166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#25166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25166F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25166F#FFFFFF#000000##FFFFFF
##25166F1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #25166f;
/* rgb */ color: rgb(37, 22, 111);
/* oklch */ color: oklch(29.2% 0.142 280.6);
Tailwind
colors: {
  custom: {
    50: '#6b5699',
    500: '#25166f',
    950: '#000000',
  },
}
SCSS
$custom: #25166f;
$custom-light: #6b5699;
$custom-dark: #000000;
JSON
{
  "hex": "#25166f",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 250.112,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29178,
    "c": 0.14248,
    "h": 280.6
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#25166F
secondary
#93A53C
accent
#EA3ECD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25166F

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

Preview Lab → · Contrast checker → · Palette generator →

#25166F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva