#250F3A#250F3A

#250F3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.080 H 304.2°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#250F3A
RGBrgb(37, 15, 58)
HSLhsl(271, 59%, 14%)
HSVhsv(271, 74%, 23%)
CMYKcmyk(36.2%, 74.1%, 0%, 77.3%)
CIE-LABlab(9.32, 21.53, -23.45)
CIE-LCHlch(9.32, 31.83, 312.56°)
OKLaboklab(22.77% 0.0452 -0.0665)
OKLCHoklch(22.77% 0.08 304.2)
XYZxyz(1.6973, 1.0405, 4.1136)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F3A #243A0F
analogous
#100F3A #250F3A #3A0F3A
triadic
#250F3A #3A250F #0F3A25
tetradic
#250F3A #3A100F #243A0F #0F3A3A
square
#250F3A #3A100F #243A0F #0F3A3A
split-complementary
#250F3A #3A3A0F #0F3A10
monochromatic
#100618 #100618 #250F3A #441C6B #63289B

Accessibility & contrast

On white

17.38
#250F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#250F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F3A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F3A#FFFFFF#000000##FFFFFF
##250F3A1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#211822
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #250f3a;
/* rgb */ color: rgb(37, 15, 58);
/* oklch */ color: oklch(22.8% 0.080 304.2);
Tailwind
colors: {
  custom: {
    50: '#624f70',
    500: '#250f3a',
    950: '#000000',
  },
}
SCSS
$custom: #250f3a;
$custom-light: #624f70;
$custom-dark: #000000;
JSON
{
  "hex": "#250f3a",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 270.698,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22765,
    "c": 0.0804,
    "h": 304.2
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#250F3A
secondary
#527430
accent
#E24692
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #250F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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