#230D4F#230D4F

#230D4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.111 H 290.9°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#230D4F
RGBrgb(35, 13, 79)
HSLhsl(260, 72%, 18%)
HSVhsv(260, 84%, 31%)
CMYKcmyk(55.7%, 83.5%, 0%, 69%)
CIE-LABlab(10.63, 28.75, -36.11)
CIE-LCHlch(10.63, 46.16, 308.52°)
OKLaboklab(24.25% 0.0395 -0.1037)
OKLCHoklch(24.25% 0.111 290.9)
XYZxyz(2.2479, 1.2096, 7.5106)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D4F #394F0D
analogous
#0D184F #230D4F #440D4F
triadic
#230D4F #4F230D #0D4F23
tetradic
#230D4F #4F0D18 #394F0D #0D4F44
square
#230D4F #4F0D18 #394F0D #0D4F44
split-complementary
#230D4F #4F440D #184F0D
monochromatic
#0C041A #0C041A #230D4F #3A1684 #521EB8

Accessibility & contrast

On white

16.91
#230D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#230D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D4F
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D4F#FFFFFF#000000##FFFFFF
##230D4F1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#141F2D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230d4f;
/* rgb */ color: rgb(35, 13, 79);
/* oklch */ color: oklch(24.3% 0.111 290.9);
Tailwind
colors: {
  custom: {
    50: '#644e81',
    500: '#230d4f',
    950: '#000000',
  },
}
SCSS
$custom: #230d4f;
$custom-light: #644e81;
$custom-dark: #000000;
JSON
{
  "hex": "#230d4f",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 260,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24251,
    "c": 0.11102,
    "h": 290.9
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#230D4F
secondary
#6B8A2E
accent
#EE39B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230D4F

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

Preview Lab → · Contrast checker → · Palette generator →

#230D4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva