#230741#230741

#230741 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.101 H 299.8°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#230741
RGBrgb(35, 7, 65)
HSLhsl(269, 81%, 14%)
HSVhsv(269, 89%, 25%)
CMYKcmyk(46.2%, 89.2%, 0%, 74.5%)
CIE-LABlab(8.05, 27.69, -30.54)
CIE-LCHlch(8.05, 41.23, 312.20°)
OKLaboklab(22% 0.0501 -0.0873)
OKLCHoklch(22% 0.101 299.8)
XYZxyz(1.7230, 0.8909, 5.0812)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230741 #254107
analogous
#070841 #230741 #400741
triadic
#230741 #412307 #074123
tetradic
#230741 #410708 #254107 #074140
square
#230741 #410708 #254107 #074140
split-complementary
#230741 #414007 #084107
monochromatic
#0F031C #0F031C #230741 #410D78 #5F13B0

Accessibility & contrast

On white

17.82
#230741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230741
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230741#FFFFFF#000000##FFFFFF
##2307411.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#1C1724
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230741;
/* rgb */ color: rgb(35, 7, 65);
/* oklch */ color: oklch(22.0% 0.101 299.8);
Tailwind
colors: {
  custom: {
    50: '#624a76',
    500: '#230741',
    950: '#000000',
  },
}
SCSS
$custom: #230741;
$custom-light: #624a76;
$custom-dark: #000000;
JSON
{
  "hex": "#230741",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 268.966,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21996,
    "c": 0.10068,
    "h": 299.8
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#230741
secondary
#538024
accent
#F73197
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #230741

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

Preview Lab → · Contrast checker → · Palette generator →

#230741 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva