#25114F#25114F

#25114F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.106 H 291.6°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#25114F
RGBrgb(37, 17, 79)
HSLhsl(259, 65%, 19%)
HSVhsv(259, 78%, 31%)
CMYKcmyk(53.2%, 78.5%, 0%, 69%)
CIE-LABlab(11.68, 26.86, -34.38)
CIE-LCHlch(11.68, 43.63, 307.99°)
OKLaboklab(25.05% 0.0391 -0.0986)
OKLCHoklch(25.05% 0.106 291.6)
XYZxyz(2.3743, 1.3586, 7.5328)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25114F #3B4F11
analogous
#111C4F #25114F #44114F
triadic
#25114F #4F2511 #114F25
tetradic
#25114F #4F111C #3B4F11 #114F44
square
#25114F #4F111C #3B4F11 #114F44
split-complementary
#25114F #4F4411 #1C4F11
monochromatic
#0C0519 #0D061D #25114F #3D1C81 #5427B4

Accessibility & contrast

On white

16.51
#25114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#25114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25114F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25114F#FFFFFF#000000##FFFFFF
##25114F1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#17212E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #25114f;
/* rgb */ color: rgb(37, 17, 79);
/* oklch */ color: oklch(25.1% 0.106 291.6);
Tailwind
colors: {
  custom: {
    50: '#655181',
    500: '#25114f',
    950: '#000000',
  },
}
SCSS
$custom: #25114f;
$custom-light: #655181;
$custom-dark: #000000;
JSON
{
  "hex": "#25114f",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 259.355,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25051,
    "c": 0.10607,
    "h": 291.6
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#25114F
secondary
#6D8833
accent
#E840B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25114F

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

Preview Lab → · Contrast checker → · Palette generator →

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