#250F53#250F53

#250F53 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.114 H 290.5°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#250F53
RGBrgb(37, 15, 83)
HSLhsl(259, 69%, 19%)
HSVhsv(259, 82%, 33%)
CMYKcmyk(55.4%, 81.9%, 0%, 67.5%)
CIE-LABlab(11.68, 29.26, -37.11)
CIE-LCHlch(11.68, 47.26, 308.25°)
OKLaboklab(25.18% 0.04 -0.1066)
OKLCHoklch(25.18% 0.114 290.5)
XYZxyz(2.4947, 1.3594, 8.3129)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F53 #3D530F
analogous
#0F1B53 #250F53 #470F53
triadic
#250F53 #53250F #0F5325
tetradic
#250F53 #530F1B #3D530F #0F5347
square
#250F53 #530F1B #3D530F #0F5347
split-complementary
#250F53 #53470F #1B530F
monochromatic
#0C051A #0E061F #250F53 #3C1887 #5322BB

Accessibility & contrast

On white

16.51
#250F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#250F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F53
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F53#FFFFFF#000000##FFFFFF
##250F531.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)
#002055
Deuteranopia (green-blind)
#001D52
Tritanopia (blue-blind)
#152230
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #250f53;
/* rgb */ color: rgb(37, 15, 83);
/* oklch */ color: oklch(25.2% 0.114 290.5);
Tailwind
colors: {
  custom: {
    50: '#665084',
    500: '#250f53',
    950: '#000000',
  },
}
SCSS
$custom: #250f53;
$custom-light: #665084;
$custom-dark: #000000;
JSON
{
  "hex": "#250f53",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 259.412,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2518,
    "c": 0.11385,
    "h": 290.5
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#250F53
secondary
#6F8D31
accent
#EC3CB3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250F53

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

Preview Lab → · Contrast checker → · Palette generator →

#250F53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva