#230E4E#230E4E

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

Color values

HEX#230E4E
RGBrgb(35, 14, 78)
HSLhsl(260, 70%, 18%)
HSVhsv(260, 82%, 31%)
CMYKcmyk(55.1%, 82.1%, 0%, 69.4%)
CIE-LABlab(10.71, 27.88, -35.28)
CIE-LCHlch(10.71, 44.97, 308.32°)
OKLaboklab(24.28% 0.0389 -0.1013)
OKLCHoklch(24.28% 0.109 291)
XYZxyz(2.2249, 1.2214, 7.3248)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E4E #394E0E
analogous
#0E194E #230E4E #430E4E
triadic
#230E4E #4E230E #0E4E23
tetradic
#230E4E #4E0E19 #394E0E #0E4E43
square
#230E4E #4E0E19 #394E0E #0E4E43
split-complementary
#230E4E #4E430E #194E0E
monochromatic
#0C051A #0C051A #230E4E #3A1782 #5221B6

Accessibility & contrast

On white

16.88
#230E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230E4E
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E4E#FFFFFF#000000##FFFFFF
##230E4E1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230e4e;
/* rgb */ color: rgb(35, 14, 78);
/* oklch */ color: oklch(24.3% 0.109 291.0);
Tailwind
colors: {
  custom: {
    50: '#644f80',
    500: '#230e4e',
    950: '#000000',
  },
}
SCSS
$custom: #230e4e;
$custom-light: #644f80;
$custom-dark: #000000;
JSON
{
  "hex": "#230e4e",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 259.688,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24279,
    "c": 0.10854,
    "h": 291
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#230E4E
secondary
#6B892F
accent
#EC3BB2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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