#230F6E#230F6E

#230F6E is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.148 H 280.6°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#230F6E
RGBrgb(35, 15, 110)
HSLhsl(253, 76%, 25%)
HSVhsv(253, 86%, 43%)
CMYKcmyk(68.2%, 86.4%, 0%, 56.9%)
CIE-LABlab(14.54, 37.48, -50.43)
CIE-LCHlch(14.54, 62.83, 306.62°)
OKLaboklab(28.03% 0.0273 -0.1456)
OKLCHoklch(28.03% 0.148 280.6)
XYZxyz(3.6775, 1.8245, 14.9072)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F6E #5A6E0F
analogous
#0F2A6E #230F6E #530F6E
triadic
#230F6E #6E230F #0F6E23
tetradic
#230F6E #6E0F2A #5A6E0F #0F6E53
square
#230F6E #6E0F2A #5A6E0F #0F6E53
split-complementary
#230F6E #6E530F #2A6E0F
monochromatic
#09041B #120838 #230F6E #3416A4 #451EDA

Accessibility & contrast

On white

15.38
#230F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#230F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F6E
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F6E#FFFFFF#000000##FFFFFF
##230F6E1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#002D40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #230f6e;
/* rgb */ color: rgb(35, 15, 110);
/* oklch */ color: oklch(28.0% 0.148 280.6);
Tailwind
colors: {
  custom: {
    50: '#6a5299',
    500: '#230f6e',
    950: '#000000',
  },
}
SCSS
$custom: #230f6e;
$custom-light: #6a5299;
$custom-dark: #000000;
JSON
{
  "hex": "#230f6e",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 110
  },
  "hsl": {
    "h": 252.632,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28026,
    "c": 0.14809,
    "h": 280.6
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#230F6E
secondary
#8EA633
accent
#F335CB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #230F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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