#230E4F#230E4F

#230E4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.110 H 290.6°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#230E4F
RGBrgb(35, 14, 79)
HSLhsl(259, 70%, 18%)
HSVhsv(259, 82%, 31%)
CMYKcmyk(55.7%, 82.3%, 0%, 69%)
CIE-LABlab(10.82, 28.20, -35.80)
CIE-LCHlch(10.82, 45.57, 308.23°)
OKLaboklab(24.39% 0.0386 -0.1028)
OKLCHoklch(24.39% 0.11 290.6)
XYZxyz(2.2611, 1.2358, 7.5150)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E4F #3A4F0E
analogous
#0E194F #230E4F #430E4F
triadic
#230E4F #4F230E #0E4F23
tetradic
#230E4F #4F0E19 #3A4F0E #0E4F43
square
#230E4F #4F0E19 #3A4F0E #0E4F43
split-complementary
#230E4F #4F430E #194F0E
monochromatic
#0C051A #0C051B #230E4F #3A1783 #5120B7

Accessibility & contrast

On white

16.84
#230E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#230E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E4F
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E4F#FFFFFF#000000##FFFFFF
##230E4F1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#14202E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230e4f;
/* rgb */ color: rgb(35, 14, 79);
/* oklch */ color: oklch(24.4% 0.110 290.6);
Tailwind
colors: {
  custom: {
    50: '#644f81',
    500: '#230e4f',
    950: '#000000',
  },
}
SCSS
$custom: #230e4f;
$custom-light: #644f81;
$custom-dark: #000000;
JSON
{
  "hex": "#230e4f",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 259.385,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24385,
    "c": 0.10985,
    "h": 290.6
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#230E4F
secondary
#6C8A2F
accent
#ED3BB3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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