#25165C#25165C

#25165C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.117 H 285.4°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#25165C
RGBrgb(37, 22, 92)
HSLhsl(253, 61%, 22%)
HSVhsv(253, 76%, 36%)
CMYKcmyk(59.8%, 76.1%, 0%, 63.9%)
CIE-LABlab(14.06, 28.12, -39.31)
CIE-LCHlch(14.06, 48.34, 305.58°)
OKLaboklab(27.14% 0.0311 -0.1131)
OKLCHoklch(27.14% 0.117 285.4)
XYZxyz(2.9810, 1.7397, 10.3018)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25165C #4D5C16
analogous
#162A5C #25165C #48165C
triadic
#25165C #5C2516 #165C25
tetradic
#25165C #5C162A #4D5C16 #165C48
square
#25165C #5C162A #4D5C16 #165C48
split-complementary
#25165C #5C4816 #2A5C16
monochromatic
#0A0619 #110A2B #25165C #39228D #4D2EBF

Accessibility & contrast

On white

15.58
#25165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#25165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25165C
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25165C#FFFFFF#000000##FFFFFF
##25165C1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#0B2937
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #25165c;
/* rgb */ color: rgb(37, 22, 92);
/* oklch */ color: oklch(27.1% 0.117 285.4);
Tailwind
colors: {
  custom: {
    50: '#67558b',
    500: '#25165c',
    950: '#000000',
  },
}
SCSS
$custom: #25165c;
$custom-light: #67558b;
$custom-dark: #000000;
JSON
{
  "hex": "#25165c",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 252.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2714,
    "c": 0.11729,
    "h": 285.4
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#25165C
secondary
#80933B
accent
#E543C2
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #25165C

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

Preview Lab → · Contrast checker → · Palette generator →

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