#25165E#25165E

#25165E is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.3% C 0.120 H 284.8°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#25165E
RGBrgb(37, 22, 94)
HSLhsl(253, 62%, 23%)
HSVhsv(253, 77%, 37%)
CMYKcmyk(60.6%, 76.6%, 0%, 63.1%)
CIE-LABlab(14.26, 28.80, -40.32)
CIE-LCHlch(14.26, 49.55, 305.54°)
OKLaboklab(27.35% 0.0306 -0.116)
OKLCHoklch(27.35% 0.12 284.8)
XYZxyz(3.0696, 1.7751, 10.7684)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25165E #4F5E16
analogous
#162B5E #25165E #49165E
triadic
#25165E #5E2516 #165E25
tetradic
#25165E #5E162B #4F5E16 #165E49
square
#25165E #5E162B #4F5E16 #165E49
split-complementary
#25165E #5E4916 #2B5E16
monochromatic
#0A0619 #110A2C #25165E #392290 #4C2DC1

Accessibility & contrast

On white

15.50
#25165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#25165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25165E
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25165E#FFFFFF#000000##FFFFFF
##25165E1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#092938
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #25165e;
/* rgb */ color: rgb(37, 22, 94);
/* oklch */ color: oklch(27.3% 0.120 284.8);
Tailwind
colors: {
  custom: {
    50: '#67558c',
    500: '#25165e',
    950: '#000000',
  },
}
SCSS
$custom: #25165e;
$custom-light: #67558c;
$custom-dark: #000000;
JSON
{
  "hex": "#25165e",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 252.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27347,
    "c": 0.12002,
    "h": 284.8
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#25165E
secondary
#82953B
accent
#E543C3
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #25165E

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

Preview Lab → · Contrast checker → · Palette generator →

#25165E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva